Skip to content

Commit c6a9fd7

Browse files
author
Neil Booth
committed
Revert "A quick hack until fixing the freezing properly"
This reverts commit 33befb8.
1 parent 33befb8 commit c6a9fd7

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

electrumx/server/session.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -567,11 +567,9 @@ async def _notify_sessions(self, height, touched):
567567
for hashX in set(hc).intersection(touched):
568568
del hc[hashX]
569569

570-
# FIXME
571-
async with ignore_after(15):
572-
async with TaskGroup() as group:
573-
for session in self.sessions:
574-
await group.spawn(session.notify(touched, height_changed))
570+
async with TaskGroup() as group:
571+
for session in self.sessions:
572+
await group.spawn(session.notify(touched, height_changed))
575573

576574
def add_session(self, session):
577575
self.sessions.add(session)

0 commit comments

Comments
 (0)