Skip to content
Snippets Groups Projects
Commit face0c5b authored by Erik Johnston's avatar Erik Johnston
Browse files

Prefill client IPs cache on workers

parent 7b8a157b
No related merge requests found
......@@ -43,6 +43,8 @@ class SlavedClientIpStore(BaseSlavedStore):
if last_seen is not None and (now - last_seen) < LAST_SEEN_GRANULARITY:
return
self.client_ip_last_seen.prefill(key, now)
self.hs.get_tcp_replication().send_user_ip(
user_id, access_token, ip, user_agent, device_id, now
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment