Skip to content

Commit 9c7ed38

Browse files
committed
MNT: clean-up
1 parent ba71df9 commit 9c7ed38

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tiled/server/streaming.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -501,17 +501,14 @@ async def live_sequence_source():
501501
await pubsub.subscribe(f"notify:{node_id}")
502502

503503
async def live_iter():
504-
print(f"Live iterator started for node {node_id}")
505504
async for message in pubsub.listen():
506505
if message.get("type") == "message":
507-
print(f"Received live message for node {node_id}: {message}")
508506
try:
509507
yield int(message["data"])
510508
except Exception as e:
511509
logger.exception(f"Error parsing live message: {e}")
512510

513511
async def cleanup():
514-
print(f"Unsubscribing from Redis channel for node {node_id}")
515512
await pubsub.unsubscribe(f"notify:{node_id}")
516513
await pubsub.aclose()
517514

0 commit comments

Comments
 (0)