{"version":"2.1.271","anchor":"queue-dispatch-function-g7-reworked-with-a-qg-based-fast-p","canonical_anchor":"queue-dispatch-function-g7-reworked-with-a-qg-based-fast-p","heading":"Queue dispatch function g7 reworked with a QG()-based fast path and waitsOnSessionStart hook","tier":"internal","area":"Elsewhere","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.271\/e\/queue-dispatch-function-g7-reworked-with-a-qg-based-fast-p","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.271","markdown":"### Queue dispatch function g7 reworked with a QG()-based fast path and waitsOnSessionStart hook\n\nQueue dispatch logic reworked with a fast path for in-flight items and a session-start wait option\n\n**Unclear.** The finding does not explain what QG() represents or when waitsOnSessionStart would be set to false in practice.\n\n**What**\n\nThe function that picks which batch of queued items to dispatch next (renamed from `OXe` to `g7`) has been reworked with two changes:\n\n- a fast path that, when a certain internal marker is set, looks up an already in-flight item by its id and dispatches it right away\n\n- a new `waitsOnSessionStart` setting (defaulting to always wait) that controls whether an item must wait for the session to start before it proceeds\n\n**Why**\n\nThis is internal scheduling logic for how Claude Code processes its work queue. It likely speeds up handling of items that are already in progress, and gives more control over ordering relative to session startup.\n\n- Area: Elsewhere\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5"}