]> cat aescling's git repositories - mastodon.git/commit
Do not cancel PuSH subscriptions after encountering "permanent" error… (#3046)
authorEugen Rochko <eugen@zeonfederated.com>
Sun, 14 May 2017 01:22:48 +0000 (03:22 +0200)
committerGitHub <noreply@github.com>
Sun, 14 May 2017 01:22:48 +0000 (03:22 +0200)
commit657496b5a9488b904166c33764500b364e024679
tree6776c7ca1f9878cf0d9e4b272a07b969bc89fe4d
parentfd03a3d95731d479f19bc4894746027097b9e2a3
Do not cancel PuSH subscriptions after encountering "permanent" error… (#3046)

* Do not cancel PuSH subscriptions after encountering "permanent" error response

After talking with MMN about it, turns out some servers/php setups do
return 4xx errors while rebooting, so this anti-feature that was meant
to take load off of the hub is doing more harm than good in terms of
breaking subscriptions

* Update delivery_worker.rb
app/workers/pubsubhubbub/delivery_worker.rb
spec/workers/pubsubhubbub/delivery_worker_spec.rb