v0.1.1
All checks were successful
Build and Deploy Docker Image / build-and-push (push) Successful in 3m56s
All checks were successful
Build and Deploy Docker Image / build-and-push (push) Successful in 3m56s
-- added automativ queue reconenction (querying for queues to join from server)
This commit is contained in:
@@ -14,6 +14,7 @@ async def start_heartbeat():
|
||||
while True:
|
||||
try:
|
||||
await publish_heartbeat()
|
||||
|
||||
except Exception as e:
|
||||
print(f"Heartbeat failed: {e}")
|
||||
await asyncio.sleep(5)
|
||||
@@ -24,6 +25,7 @@ async def start_consumer():
|
||||
while True:
|
||||
try:
|
||||
await consume_messages_topic()
|
||||
await asyncio.Future()
|
||||
except Exception as e:
|
||||
print(f"Consumer failed: {e}")
|
||||
await asyncio.sleep(5)
|
||||
|
||||
Reference in New Issue
Block a user