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):
|
for hashX in set(hc).intersection(touched):
|
||||||
del hc[hashX]
|
del hc[hashX]
|
||||||
|
|
||||||
# FIXME
|
async with TaskGroup() as group:
|
||||||
async with ignore_after(15):
|
for session in self.sessions:
|
||||||
async with TaskGroup() as group:
|
await group.spawn(session.notify(touched, height_changed))
|
||||||
for session in self.sessions:
|
|
||||||
await group.spawn(session.notify(touched, height_changed))
|
|
||||||
|
|
||||||
def add_session(self, session):
|
def add_session(self, session):
|
||||||
self.sessions.add(session)
|
self.sessions.add(session)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user