Skip to content

Comments

fix: bugs found under production load with graphql-yoga#11116

Merged
mattkrick merged 3 commits intomasterfrom
fix/graceful-shutdown
Apr 7, 2025
Merged

fix: bugs found under production load with graphql-yoga#11116
mattkrick merged 3 commits intomasterfrom
fix/graceful-shutdown

Conversation

@mattkrick
Copy link
Member

@mattkrick mattkrick commented Apr 7, 2025

Description

fix #11117
fix #11115
fix #11114
fix #11112

SIGTERM handler was exiting almost immediately because the hocusPocus server, which runs on the same process, was called process.exit(0) on SIGTERM when it was finished, which meant that the webserver was exiting before it was able to handle its graceful shutdown.

Signed-off-by: Matt Krick <matt.krick@gmail.com>
@github-actions github-actions bot added the size/s label Apr 7, 2025
…ribe

Signed-off-by: Matt Krick <matt.krick@gmail.com>
@github-actions github-actions bot added size/m and removed size/s labels Apr 7, 2025
Signed-off-by: Matt Krick <matt.krick@gmail.com>
@mattkrick mattkrick changed the title fix: fix graceful shutdowns on web server fix: bugs found under production load with graphql-yoga Apr 7, 2025
@mattkrick mattkrick merged commit b46ad57 into master Apr 7, 2025
7 checks passed
@mattkrick mattkrick deleted the fix/graceful-shutdown branch April 7, 2025 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

1 participant