logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: 1419f656e2753dc2f173d496a9720023d89de36e
parent: 3ba7cde38df980a715a6607b254093246cc9ebbd
Author: Eugen Rochko <eugen@zeonfederated.com>
Date:   Tue,  2 Jan 2018 14:02:53 +0100

Fix stats expiring too quickly because of variable mistake (#6155)


Diffstat:

Mapp/lib/activity_tracker.rb2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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