mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-26 00:46:22 +02:00
fix: reduce consumer poll timeout from 2000ms to 100ms
This commit is contained in:
parent
4acd853023
commit
f0c9039b76
2 changed files with 36 additions and 1 deletions
|
|
@ -165,7 +165,7 @@ class Consumer:
|
|||
try:
|
||||
msg = await asyncio.to_thread(
|
||||
consumer.receive,
|
||||
timeout_millis=2000
|
||||
timeout_millis=100
|
||||
)
|
||||
except Exception as e:
|
||||
# Handle timeout from any backend
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue