about summary refs log tree commit diff
path: root/app/lib
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-07-16 18:35:43 +0200
committerGitHub <noreply@github.com>2018-07-16 18:35:43 +0200
commita23ac107e4f9cc46a95d8e2dca6a5056dbcce39d (patch)
treef750a0bc251acde79ca17cd55ae61d38aa4fb771 /app/lib
parent8f64b17d98612f853a83ee766edc2bb41c82fd75 (diff)
Fix activity:interactions counter to count all interactions (#8037)
Diffstat (limited to 'app/lib')
-rw-r--r--app/lib/potential_friendship_tracker.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/lib/potential_friendship_tracker.rb b/app/lib/potential_friendship_tracker.rb
index dfca54f7b..017a9748d 100644
--- a/app/lib/potential_friendship_tracker.rb
+++ b/app/lib/potential_friendship_tracker.rb
@@ -20,8 +20,6 @@ class PotentialFriendshipTracker
       redis.zincrby(key, weight, target_account_id)
       redis.zremrangebyrank(key, 0, -MAX_ITEMS)
       redis.expire(key, EXPIRE_AFTER)
-
-      ActivityTracker.increment('activity:interactions')
     end
 
     def remove(account_id, target_account_id)