]> cat aescling's git repositories - mastodon.git/commit
Avoid race condition when streaming deleted statuses (#10280)
authorThibG <thib@sitedethib.com>
Sat, 16 Mar 2019 19:18:47 +0000 (20:18 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Sat, 16 Mar 2019 19:18:47 +0000 (20:18 +0100)
commit6b0eda14a11ba243e7adf3900aae75ba23980c96
treeaaef24a6703dcc797f0d63402a8d94ab922c4cff
parentdb06b25376ac7e844e86fb9890fa9f1c2edd2d60
Avoid race condition when streaming deleted statuses (#10280)

* Avoid race condition when streaming deleted statuses

* Move redis lock to DistributionWorker to avoid extra Redis value
app/services/remove_status_service.rb
app/workers/distribution_worker.rb