Skip to content

Commit

Permalink
fix QuestCallback writer fail to close (#1050)
Browse files Browse the repository at this point in the history
  • Loading branch information
keiser1080 authored Aug 28, 2024
1 parent cac8c97 commit d83355d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cryptofeed/backends/quest.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def __init__(self, host='127.0.0.1', port=9009, key=None, **kwargs):
self.running = True

async def writer(self):
while True:
while self.running:
await self.connect()
async with self.read_queue() as updates:
update = "\n".join(updates) + "\n"
Expand Down

0 comments on commit d83355d

Please sign in to comment.