Skip to content

Dynamic loading of new peers using inotify #3

New issue

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

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

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

as-j
Copy link
Contributor

@as-j as-j commented Jun 25, 2019

This avoids having to reload all peers, and when you have 12k of them this can take 30s while it happens, and blocks all traffic while in progress.

as-j added 2 commits June 24, 2019 12:56
Before a SIGHUP could be sent to the process, but this caused
fastd to spend 2-3 minutes reloading config files when there
are 10,000 peers.  This allows it to load a file at a time
when new keys are copied over.
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.

2 participants