mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-31 15:24:17 -04:00
Switch the JSON byte producer from a pull to a push producer. (#8116)
This commit is contained in:
parent
cfeb37f039
commit
f594e434c3
5 changed files with 52 additions and 45 deletions
|
@ -353,6 +353,7 @@ class CleanupExtremDummyEventsTestCase(HomeserverTestCase):
|
|||
self.event_creator_handler._rooms_to_exclude_from_dummy_event_insertion[
|
||||
"3"
|
||||
] = 300000
|
||||
|
||||
self.event_creator_handler._expire_rooms_to_exclude_from_dummy_event_insertion()
|
||||
# All entries within time frame
|
||||
self.assertEqual(
|
||||
|
@ -362,7 +363,7 @@ class CleanupExtremDummyEventsTestCase(HomeserverTestCase):
|
|||
3,
|
||||
)
|
||||
# Oldest room to expire
|
||||
self.pump(1)
|
||||
self.pump(1.01)
|
||||
self.event_creator_handler._expire_rooms_to_exclude_from_dummy_event_insertion()
|
||||
self.assertEqual(
|
||||
len(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue