The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
feat(cron): make the media-send timeout configurable
AiwendilInTheWoodsd9ec9dd3fdbd
diff --git a/cron/scheduler.py b/cron/scheduler.pyindex 0a4143247a2..1cbb68c1e1b 100644--- a/cron/scheduler.py+++ b/cron/scheduler.py@@ -2402,7 +2402,12 @@ def _send_media_via_adapter(errors.append(msg)return errorstry:- result = future.result(timeout=30)+ # Large attachments (long TTS audio, concatenated recordings,+ # big exports) can legitimately exceed a fixed 30s upload+ # window. Configurable, matching the other cron timeouts.+ result = future.result(+ timeout=int(os.getenv("HERMES_CRON_MEDIA_SEND_TIMEOUT", "300"))+ )except TimeoutError:future.cancel()raise