import { logVerbose } from "../../globals.js"; import type { ReplyPayload } from "../types.js"; import type { ActiveRunQueueAction } from "./queue-policy.js"; import type { QueueSettings } from "./queue.js";
if (params.queueMode === "interrupt") { const aborted = params.abortActiveRun(params.activeSessionId);
logVerbose(
`Interrupting active run for ${params.sessionKey ?? params.sessionId} (aborted=${aborted})`,
);
}
await params.waitForActiveRunEnd(params.activeSessionId);
await params.refreshPreparedState(); const refreshedBusyState = params.resolveBusyState(); if (refreshedBusyState.isActive) { return {
kind: "reply",
reply: {
text: "⚠️ Previous run is still shutting down. Please try again in a moment.",
},
};
} return { kind: "continue", busyState: refreshedBusyState };
}
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.7 Sekunden
(vorverarbeitet am 2026-06-10)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.