Skip to content

fix: reuse created-once channels so queued requests don't get stuck on replaced channels#2470

Open
henderkes wants to merge 3 commits into
mainfrom
fix/reload_timeout
Open

fix: reuse created-once channels so queued requests don't get stuck on replaced channels#2470
henderkes wants to merge 3 commits into
mainfrom
fix/reload_timeout

Conversation

@henderkes

Copy link
Copy Markdown
Contributor

fixes #2469

@henderkes henderkes force-pushed the fix/reload_timeout branch from 777ea43 to c7ec04a Compare June 6, 2026 05:24
@henderkes henderkes force-pushed the fix/reload_timeout branch from a41001f to fdd8f60 Compare June 6, 2026 05:32
Comment thread frankenphp.go
Comment thread frankenphp.go
Comment thread scaling.go
}

if mainThread.maxThreads <= mainThread.numThreads {
scaleChan = nil

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

scalechan should be nil if autoscaling is inactive (to avoid the select overhead). Does keeping this also cause race detection?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll need to test, it wasn't for the race detection but to work the same way as requestchan. Can revert and leave a comment why it's different.

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.

503 Service Unavailable - maximum request handling time exceeded after reload frankenphp

2 participants