mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-27 06:11:40 +00:00
fix(kanban): remove blocked kind from unsub
This commit is contained in:
parent
dd49d50389
commit
a4036654f1
1 changed files with 3 additions and 6 deletions
|
|
@ -3853,12 +3853,9 @@ class GatewayRunner:
|
||||||
|
|
||||||
TERMINAL_KINDS = ("completed", "blocked", "gave_up", "crashed", "timed_out")
|
TERMINAL_KINDS = ("completed", "blocked", "gave_up", "crashed", "timed_out")
|
||||||
# Terminal event kinds trigger automatic unsubscription — the task
|
# Terminal event kinds trigger automatic unsubscription — the task
|
||||||
# is done, blocked, or in a retry-needed state that the human
|
# is done or in a retry-needed state that the human
|
||||||
# shouldn't keep pinging a stale chat for. Previously we only
|
# shouldn't keep pinging a stale chat for.
|
||||||
# unsubbed when task.status in ('done', 'archived'), which left
|
TERMINAL_EVENT_KINDS = ("completed", "gave_up", "crashed", "timed_out")
|
||||||
# subscriptions on 'blocked' / 'gave_up' / 'crashed' / 'timed_out'
|
|
||||||
# tasks stranded forever.
|
|
||||||
TERMINAL_EVENT_KINDS = TERMINAL_KINDS
|
|
||||||
# Per-subscription send-failure counter. Adapter.send raising
|
# Per-subscription send-failure counter. Adapter.send raising
|
||||||
# means the chat is dead (deleted, bot kicked, etc.) — after N
|
# means the chat is dead (deleted, bot kicked, etc.) — after N
|
||||||
# consecutive send failures the sub is dropped so we don't spin
|
# consecutive send failures the sub is dropped so we don't spin
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue