about summary refs log tree commit diff
path: root/app/lib/potential_friendship_tracker.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/lib/potential_friendship_tracker.rb')
-rw-r--r--app/lib/potential_friendship_tracker.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/lib/potential_friendship_tracker.rb b/app/lib/potential_friendship_tracker.rb
index 017a9748d..dfca54f7b 100644
--- a/app/lib/potential_friendship_tracker.rb
+++ b/app/lib/potential_friendship_tracker.rb
@@ -20,6 +20,8 @@ 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)