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
Showing
- app/controllers/api/v1/accounts_controller.rb 1 addition, 1 deletionapp/controllers/api/v1/accounts_controller.rb
- app/services/after_block_service.rb 31 additions, 0 deletionsapp/services/after_block_service.rb
- app/services/block_service.rb 1 addition, 26 deletionsapp/services/block_service.rb
- app/workers/block_worker.rb 1 addition, 1 deletionapp/workers/block_worker.rb
Loading
Please register or sign in to comment