fix(gateway): let /queue bypass active-session guard

This commit is contained in:
helix4u 2026-04-16 16:47:27 -06:00 committed by Teknium
parent 5797728ca6
commit 5d7d574779
2 changed files with 17 additions and 1 deletions

View file

@ -1579,7 +1579,7 @@ class BasePlatformAdapter(ABC):
# session lifecycle and its cleanup races with the running task
# (see PR #4926).
cmd = event.get_command()
if cmd in ("approve", "deny", "status", "stop", "new", "reset", "background", "restart"):
if cmd in ("approve", "deny", "status", "stop", "new", "reset", "background", "restart", "queue", "q"):
logger.debug(
"[%s] Command '/%s' bypassing active-session guard for %s",
self.name, cmd, session_key,