]> cat aescling's git repositories - mastodon.git/commit
Make blocks create entries and unfollows instantly, but do the clean up
authorEugen Rochko <eugen@zeonfederated.com>
Tue, 24 Jan 2017 20:40:41 +0000 (21:40 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Tue, 24 Jan 2017 20:40:41 +0000 (21:40 +0100)
commit8a880a3d464daf486a10d85b8ee49305aa6b1e5b
treecc143c4fc9b5e5fd359c2ae51a78ab78297ca627
parent326c75b35b826aa9e807fe7d1972ade41d789663
Make blocks create entries and unfollows instantly, but do the clean up
in the background instead. Should fix delay where blocked person
can interact with blocker for a short time before background job
gets processed
app/controllers/api/v1/accounts_controller.rb
app/services/after_block_service.rb [new file with mode: 0644]
app/services/block_service.rb
app/workers/block_worker.rb