This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/app
ThibG 517af45e32
Fix multiple boosts of a same toot erroneously appearing in TL (#14759)
* Check for and record reblog info atomically

Instead of using ZREVRANK to determine whether a reblog is a new reblog or not,
use ZADD's NX option to perform the check/addition option atomically.

* Replace ZREVRANK call with ZSCORE key which is more efficient

* Make tests a bit stricter

* Fix off-by-one
2020-09-07 18:00:15 +02:00
..
chewy
controllers Changed tag most_used to recently_used (#14760) 2020-09-07 17:47:41 +02:00
helpers
javascript
lib Fix multiple boosts of a same toot erroneously appearing in TL (#14759) 2020-09-07 18:00:15 +02:00
mailers
models Changed tag most_used to recently_used (#14760) 2020-09-07 17:47:41 +02:00
policies
presenters
serializers
services
validators
views Changed tag most_used to recently_used (#14760) 2020-09-07 17:47:41 +02:00
workers