diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-01-02 14:02:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-02 14:02:53 +0100 |
commit | 1419f656e2753dc2f173d496a9720023d89de36e (patch) | |
tree | a7d0ef12a87d42d6a7aaeca471f47a929d01e603 | |
parent | 3ba7cde38df980a715a6607b254093246cc9ebbd (diff) |
Fix stats expiring too quickly because of variable mistake (#6155)
-rw-r--r-- | app/lib/activity_tracker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/activity_tracker.rb b/app/lib/activity_tracker.rb index 50e927b0c..5b4972674 100644 --- a/app/lib/activity_tracker.rb +++ b/app/lib/activity_tracker.rb @@ -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 |