Skip to content

Commit

Permalink
🎨 Fix heartbeat value too large
Browse files Browse the repository at this point in the history
  • Loading branch information
ff137 committed Dec 11, 2024
1 parent 9a26a3f commit abeb830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion endorser/services/endorsement_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ async def _process_endorsement_requests(self) -> NoReturn:
subscription = await self._subscribe()
while True:
try:
messages = await subscription.fetch(batch=1, timeout=1, heartbeat=0.5)
messages = await subscription.fetch(batch=1, timeout=1, heartbeat=0.4)
for message in messages:
message_subject = message.subject
message_data = message.data.decode()
Expand Down

0 comments on commit abeb830

Please sign in to comment.