mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-19 18:21:03 +02:00
Added config reload handler mechanism, calls a Python method on config (#334)
This commit is contained in:
parent
88eae0a9f0
commit
a2c64cad4a
3 changed files with 60 additions and 5 deletions
|
|
@ -82,7 +82,7 @@ class Consumer(BaseProcessor):
|
|||
|
||||
while True:
|
||||
|
||||
msg = self.consumer.receive()
|
||||
msg = await asyncio.to_thread(self.consumer.receive)
|
||||
|
||||
expiry = time.time() + self.rate_limit_timeout
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue