Skip to content

Commit

Permalink
🎨 & update heartbeat value
Browse files Browse the repository at this point in the history
  • Loading branch information
cl0ete committed Dec 5, 2024
1 parent 84f824c commit 1831129
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion waypoint/services/nats_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,9 @@ async def event_generator():
break

try:
messages = await subscription.fetch(batch=5, timeout=0.2, heartbeat=0.01)
messages = await subscription.fetch(
batch=5, timeout=0.2, heartbeat=0.02
)
for message in messages:
event = orjson.loads(message.data)
logger.trace("Received event: {}", event)
Expand Down

0 comments on commit 1831129

Please sign in to comment.