Skip to content

Commit

Permalink
fix logging
Browse files Browse the repository at this point in the history
  • Loading branch information
leftys committed Nov 14, 2024
1 parent 59c8572 commit b679fc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cryptofeed/connection_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ async def _watcher(self):
while self.conn.is_open and self.running:
if self.conn.last_message:
if time.time() - self.conn.last_message > self.timeout:
LOG.warning("%s: received no messages within timeout %.0f, restarting connection", self.timeout, self.conn.uuid)
LOG.warning("%s: received no messages within timeout %.0f, restarting connection", self.conn.uuid, self.timeout)
await self.conn.close()
break
await asyncio.sleep(self.timeout_interval)
Expand Down

0 comments on commit b679fc9

Please sign in to comment.