1450
This commit is contained in:
@@ -402,17 +402,18 @@ async def main():
|
|||||||
)
|
)
|
||||||
|
|
||||||
# Publish disabled (kept in place, commented out)
|
# Publish disabled (kept in place, commented out)
|
||||||
# resp, code = http_post_json(rmq_url, rmq_body, user=RMQ_USER, password=RMQ_PASS, timeout=RMQ_TIMEOUT)
|
resp, code = http_post_json(rmq_url, rmq_body, user=RMQ_USER, password=RMQ_PASS, timeout=RMQ_TIMEOUT)
|
||||||
# if code != 200:
|
if code != 200:
|
||||||
# await log_status(f"[{ts()}] rmq: publish immediate http={code} host={host}")
|
await log_status(f"[{ts()}] rmq: publish immediate http={code} host={host}")
|
||||||
# else:
|
else:
|
||||||
# routed = False
|
routed = False
|
||||||
# try:
|
try:
|
||||||
# routed = bool((resp or {}).get("routed", False))
|
routed = bool((resp or {}).get("routed", False))
|
||||||
# except Exception:
|
except Exception:
|
||||||
# routed = False
|
routed = False
|
||||||
# if not routed:
|
if not routed:
|
||||||
# await log_status(f"[{ts()}] rmq: publish immediate routed=false host={host}")
|
await log_status(f"[{ts()}] rmq: publish immediate routed=false host={host}")
|
||||||
|
|
||||||
|
|
||||||
# Bell behavior: ring 3x BEL when action_next present
|
# Bell behavior: ring 3x BEL when action_next present
|
||||||
bell_prefix = "\a" * 3
|
bell_prefix = "\a" * 3
|
||||||
|
|||||||
Reference in New Issue
Block a user