Skip to content

Commit 8864fe6

Browse files
refactor(server): keep one comment on the message intake lock
AI-assisted; verified with the tests and tools listed above.
1 parent 301efdf commit 8864fe6

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎apps/server/src/orchestration-v2/Orchestrator.ts‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1160,8 +1160,6 @@ const makeOrchestrator = Effect.fn("orchestrationV2.Orchestrator.layer")(functio
11601160
const runtimePolicy = yield* RuntimePolicyV2;
11611161
const threadForkService = yield* ThreadForkServiceV2;
11621162
const threadDispatch = yield* ThreadCommandExecutor.ThreadCommandExecutor;
1163-
// Taken before any thread lock, so a message whose lineage read yields keeps
1164-
// its place ahead of later messages to the same thread.
11651163
const messageIntake = yield* KeyedLock.make<ThreadId>();
11661164
// Read once: the policy is fixed for the server's life, and dispatch takes it as an input.
11671165
const { managedPolicy } = serverSettings;

0 commit comments

Comments
 (0)