Revert "A quick hack until fixing the freezing properly"
This reverts commit 33befb8e6b.
This commit is contained in:
parent
33befb8e6b
commit
c6a9fd7a30
@ -567,11 +567,9 @@ class SessionManager(object):
|
||||
for hashX in set(hc).intersection(touched):
|
||||
del hc[hashX]
|
||||
|
||||
# FIXME
|
||||
async with ignore_after(15):
|
||||
async with TaskGroup() as group:
|
||||
for session in self.sessions:
|
||||
await group.spawn(session.notify(touched, height_changed))
|
||||
async with TaskGroup() as group:
|
||||
for session in self.sessions:
|
||||
await group.spawn(session.notify(touched, height_changed))
|
||||
|
||||
def add_session(self, session):
|
||||
self.sessions.add(session)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user