This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/app
ThibG 7adac1bc51 Try fixing ThreadResolveWorker calls (#3599)
* Try fixing ThreadResolveWorker calls

From my understanding of ActiveRecord, a transaction is commited as soon as
the exit of the outmost ActiveRecord.transaction block. However, inner
transaction blocks will exit without the transaction being commited.

In this case, ThreadResolveWorker were fired *within* a transaction block,
so moving the call out of it should do the trick. However, this is somewhat
fragile, as this whole codepath could be called within yet another transaction.

* Set status thread within the transaction block if it is immediately available from database
2017-06-06 00:09:14 +02:00
..
controllers Redirect to streaming_api_base_url (#3579) 2017-06-05 12:09:29 +02:00
helpers
javascript Fix LoadMore in Notifications. (#3590) 2017-06-05 19:18:26 +02:00
lib Introduce StatusThreadingConcern (#3490) 2017-06-05 16:07:44 +02:00
mailers
models Introduce StatusThreadingConcern (#3490) 2017-06-05 16:07:44 +02:00
policies
presenters
services Try fixing ThreadResolveWorker calls (#3599) 2017-06-06 00:09:14 +02:00
validators Added support for configurable reserved usernames (fix of #1382) (#3566) 2017-06-05 01:03:45 +02:00
views Add streaming_api_base_url to /api/v1/instance (#3556) 2017-06-05 16:37:44 +02:00
workers change sidekiq queueing to bulk push (#3536) 2017-06-04 00:11:15 +02:00