fix(scheduler): suppress channel send when result is HEARTBEAT_OK
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -374,7 +374,7 @@ class Scheduler:
|
|||||||
self._save_jobs()
|
self._save_jobs()
|
||||||
|
|
||||||
# Send output via callback if we have something to send
|
# Send output via callback if we have something to send
|
||||||
if result_text and self._send_callback:
|
if result_text and "HEARTBEAT_OK" not in result_text and self._send_callback:
|
||||||
try:
|
try:
|
||||||
await self._send_callback(job["channel"], result_text)
|
await self._send_callback(job["channel"], result_text)
|
||||||
except Exception as exc:
|
except Exception as exc:
|
||||||
|
|||||||
Reference in New Issue
Block a user