forked from treehouse/mastodon
Fix stats expiring too quickly because of variable mistake (#6155)
parent
3ba7cde38d
commit
1419f656e2
|
@ -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 New Issue