diff options
author | reivilibre <oliverw@matrix.org> | 2022-12-12 13:55:23 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-12 13:55:23 +0000 |
commit | 74b89c27613a34ec9b291ad3066db7ce0adff1db (patch) | |
tree | 6a2a3ad86a01de52f073c3e673cbb8a3e7647537 /tests/storage | |
parent | Bump packaging from 21.3 to 22.0 (#14657) (diff) | |
download | synapse-74b89c27613a34ec9b291ad3066db7ce0adff1db.tar.xz |
Revert the deletion of stale devices due to performance issues. (#14662)
Diffstat (limited to 'tests/storage')
-rw-r--r-- | tests/storage/test_client_ips.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/storage/test_client_ips.py b/tests/storage/test_client_ips.py index 81e4e596e4..7f7f4ef892 100644 --- a/tests/storage/test_client_ips.py +++ b/tests/storage/test_client_ips.py @@ -170,8 +170,6 @@ class ClientIpStoreTestCase(unittest.HomeserverTestCase): ) ) - last_seen = self.clock.time_msec() - if after_persisting: # Trigger the storage loop self.reactor.advance(10) @@ -192,7 +190,7 @@ class ClientIpStoreTestCase(unittest.HomeserverTestCase): "device_id": device_id, "ip": None, "user_agent": None, - "last_seen": last_seen, + "last_seen": None, }, ], ) |