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 Resolve custom application stylesheet with Webpack (#3373) 2017-06-01 20:56:32 +02:00
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 Remove unnecessary .keep files (#2976) 2017-05-11 01:45:42 +02:00
models Introduce StatusThreadingConcern (#3490) 2017-06-05 16:07:44 +02:00
policies Add status destroy authorization to policy (#3453) 2017-05-30 22:56:31 +02:00
presenters Bump version, improve how version is stored for better commit history (#2526) 2017-04-27 15:22:19 +02:00
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