Skip to content

Commit

Permalink
Test 2 second timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
wdbasson committed Nov 4, 2024
1 parent 2bbe280 commit 835853c
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=60, heartbeat=1)
messages = await subscription.fetch(batch=1, timeout=2, heartbeat=1)
for message in messages:
message_subject = message.subject
message_data = message.data.decode()
Expand Down

0 comments on commit 835853c

Please sign in to comment.