mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-22 22:15:23 +01:00
Fix stats expiring too quickly because of variable mistake (#6155)
This commit is contained in:
parent
3ba7cde38d
commit
1419f656e2
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ class ActivityTracker
|
|||
key = [prefix, current_week].join(':')
|
||||
|
||||
redis.pfadd(key, value)
|
||||
redis.expire(key, value)
|
||||
redis.expire(key, EXPIRE_AFTER)
|
||||
end
|
||||
|
||||
private
|
||||
|
|
Loading…
Reference in a new issue