Skip to content

reload the configuration when receiving the SIGHUP signal#2015

Merged
Geal merged 6 commits intodevfrom
geal/sighup
Nov 2, 2022
Merged

reload the configuration when receiving the SIGHUP signal#2015
Geal merged 6 commits intodevfrom
geal/sighup

Conversation

@Geal
Copy link
Contributor

@Geal Geal commented Oct 27, 2022

Fix #35

This adds support for reloading configuration when receiving the SIGHUP signal. This only works on unix-like platforms, and only with the configuration file

@github-actions

This comment has been minimized.

@Geal Geal requested review from SimonSapin and garypen October 27, 2022 13:09
Copy link
Contributor

@garypen garypen left a comment

Choose a reason for hiding this comment

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

Looks good. One small NIT.

Geoffroy Couprie and others added 2 commits October 27, 2022 15:21
Co-authored-by: Gary Pennington <gary@apollographql.com>
@Geal
Copy link
Contributor Author

Geal commented Oct 28, 2022

so I suspect SIGHUP is used by the CI to stop tests so they fail 😅

@Geal Geal merged commit c4cce27 into dev Nov 2, 2022
@Geal Geal deleted the geal/sighup branch November 2, 2022 13:41
@abernix abernix mentioned this pull request Nov 9, 2022
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.

start a configuration reload from a HUP signal

3 participants