about summary refs log tree commit diff
path: root/app/lib
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-07-16 01:11:53 +0200
committerGitHub <noreply@github.com>2018-07-16 01:11:53 +0200
commit2354b10eb5e9c7382726bc5e6e041ea30a903c90 (patch)
tree1ef4970358a516c3a7a196dfe5fd84ef81b812a7 /app/lib
parent7a686082370ad6d1c7a7d0ad331c22bf3e1fbede (diff)
Add admin dashboard (#8029)
Diffstat (limited to 'app/lib')
-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)