mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-10-22 01:06:06 -04:00
Discard unused NotifierUserStreams
This commit is contained in:
parent
9af432257d
commit
f1b83d88a3
3 changed files with 38 additions and 16 deletions
|
@ -271,6 +271,7 @@ class PresenceEventStreamTestCase(unittest.TestCase):
|
|||
"call_later",
|
||||
"cancel_call_later",
|
||||
"time_msec",
|
||||
"looping_call",
|
||||
]),
|
||||
)
|
||||
|
||||
|
|
|
@ -197,6 +197,9 @@ class MockClock(object):
|
|||
|
||||
return t
|
||||
|
||||
def looping_call(self, function, interval):
|
||||
pass
|
||||
|
||||
def cancel_call_later(self, timer):
|
||||
if timer[2]:
|
||||
raise Exception("Cannot cancel an expired timer")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue