Skip to content

Gamma effect fixes#3

Merged
moose-code merged 2 commits into
mainfrom
gamma-effect-fixes
Apr 29, 2026
Merged

Gamma effect fixes#3
moose-code merged 2 commits into
mainfrom
gamma-effect-fixes

Conversation

@moose-code

Copy link
Copy Markdown
Member

No description provided.

moose-code and others added 2 commits April 29, 2026 10:33
The old /markets endpoint is deprecated on 2026-05-01. Add a 2s
AbortSignal to bound rare undici-pool socket hangs (~40s) and throw
on non-2xx so failures don't poison the cache as null.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Legitimate Gamma responses are <400ms even under rate-limit pressure;
hung sockets stall for 30+ seconds. 1s sits ~2.5x above the worst real
latency and aborts dead connections faster, freeing the connection slot
to do useful work.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@moose-code moose-code merged commit fa03dc2 into main Apr 29, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant