]> cat aescling's git repositories - mastodon.git/commit
Likely fix #2458, fix #2031 - handle out-of-order deletes for statuses (#2734)
authorEugen Rochko <eugen@zeonfederated.com>
Thu, 4 May 2017 02:34:57 +0000 (04:34 +0200)
committerGitHub <noreply@github.com>
Thu, 4 May 2017 02:34:57 +0000 (04:34 +0200)
commit13c16b4e95c134d883b54e796e842c7f72cbbe21
treec1d18ff304b4d50ca6bfcbaa9ac9cf4e35322928
parent4fcc0d5ac9e734deeadf305d3fc4b9c6b41b0a84
Likely fix #2458, fix #2031 - handle out-of-order deletes for statuses (#2734)

* Likely fix #2458, fix #2031 - handle out-of-order deletes for statuses

If a delete arrives before the original status, cache that information
for 6h, and if the original status arrives in that window, ignore it

* Add test case
app/services/process_feed_service.rb
spec/services/process_feed_service_spec.rb