mastodon/app/services
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
..
concerns
pubsubhubbub
account_search_service.rb
after_block_service.rb Optimize MuteService and AfterBlockService (#2836) 2017-05-06 16:31:07 +02:00
authorize_follow_service.rb
base_service.rb
block_domain_from_account_service.rb
block_domain_service.rb
block_service.rb
fan_out_on_write_service.rb
favourite_service.rb
fetch_atom_service.rb OEmbed support for PreviewCard (#2337) 2017-04-27 14:42:22 +02:00
fetch_link_card_service.rb
fetch_remote_account_service.rb
fetch_remote_resource_service.rb
fetch_remote_status_service.rb
follow_remote_account_service.rb
follow_service.rb
mute_service.rb
notify_service.rb
post_status_service.rb
precompute_feed_service.rb
process_feed_service.rb
process_hashtags_service.rb
process_interaction_service.rb
process_mentions_service.rb
reblog_service.rb
reject_follow_service.rb
remove_status_service.rb
search_service.rb
send_interaction_service.rb
subscribe_service.rb
suspend_account_service.rb
unblock_domain_service.rb
unblock_service.rb
unfavourite_service.rb
unfollow_service.rb Fixed NoMethodError in UnfollowService (#1918) 2017-04-16 14:55:43 +02:00
unmute_service.rb
unsubscribe_service.rb
update_remote_profile_service.rb
verify_salmon_service.rb