Fix stats expiring too quickly because of variable mistake (#6155)
parent
5d02615063
commit
cb45282e47
|
@ -15,7 +15,7 @@ class ActivityTracker
|
||||||
key = [prefix, current_week].join(':')
|
key = [prefix, current_week].join(':')
|
||||||
|
|
||||||
redis.pfadd(key, value)
|
redis.pfadd(key, value)
|
||||||
redis.expire(key, value)
|
redis.expire(key, EXPIRE_AFTER)
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
Loading…
Reference in New Issue