diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-03-08 20:40:10 +0000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-03-08 20:40:10 +0000 |
| commit | 2cf6d97593d8a45c412f7d546abbaaeb23db0fd1 (patch) | |
| tree | 57e76ab83338911ec40059001b82377bca3cd0cb /internal/executor/claude_test.go | |
| parent | 8777bf226529f45a1c29b3e63ba8efee916e1726 (diff) | |
executor: internal dispatch queue; remove at-capacity rejection
Replace the at-capacity error return from Submit/SubmitResume with an
internal workCh/doneCh channel pair. A dispatch() goroutine blocks
waiting for a free slot and launches the worker goroutine, so tasks are
buffered up to 10x pool capacity instead of being rejected.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/executor/claude_test.go')
0 files changed, 0 insertions, 0 deletions
