Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Improve reload #7

Open
waveform80 opened this issue Mar 1, 2024 · 0 comments
Open

Improve reload #7

waveform80 opened this issue Mar 1, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@waveform80
Copy link
Owner

Refine the SIGHUP handling so that the socket isn't closed and re-opened if unnecessary. Concept: move body of the main loop into its own routine, add another loop there with a ReloadConfig exception handler that checks old_config.(listen, port) == new_config.(listen, port) and updates the server.boards dict if true.

@waveform80 waveform80 added the enhancement New feature or request label Mar 1, 2024
@waveform80 waveform80 self-assigned this Mar 1, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant