Browse Source
Fix stats expiring too quickly because of variable mistake (#6155)
pull/4/head
Eugen Rochko
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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 |
|
|
|