Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

SIGHUP support #22

Open
bls opened this issue Jul 15, 2020 · 3 comments
Open

SIGHUP support #22

bls opened this issue Jul 15, 2020 · 3 comments

Comments

@bls
Copy link
Contributor

bls commented Jul 15, 2020

The proxy should reload configuration without restarting when SIGHUP is recieved.

@nhoughto
Copy link
Contributor

How would that play into remote config sources like s3? would you have to signal it to reload remote sources too?

@bls
Copy link
Contributor Author

bls commented Jul 15, 2020 via email

@nhoughto
Copy link
Contributor

ah yeah good point, users / rules files being separate. obv s3 is atomic but the interaction between diff files isn't.

Rejig config to make 1 file self contained? 😬

Would what strat with notfications be? Reload 1 min after last notification? So a flurry of changes would all be picked up consistently? You could do the same with a s3 reload polling, look at mtime of file?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants