Browse Source

Revert "A quick hack until fixing the freezing properly"

This reverts commit 33befb8e6b.
patch-2
Neil Booth 6 years ago
parent
commit
c6a9fd7a30
  1. 8
      electrumx/server/session.py

8
electrumx/server/session.py

@ -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…
Cancel
Save