Skip to content
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

Throttle DHT announces across repositories #128

Open
madadam opened this issue Jun 22, 2023 · 0 comments
Open

Throttle DHT announces across repositories #128

madadam opened this issue Jun 22, 2023 · 0 comments

Comments

@madadam
Copy link
Collaborator

madadam commented Jun 22, 2023

We currently wait between announces between 3 - 6 minutes but this is only per repository. If there is a lot of repos we can still end up announcing too frequently and be banned for spamming.

The solution is to set a global (per app) throttle on the announces instead (or in addition to) the per repo one.

With this change we would be able to enable DHT on the storage servers as well if we want to.

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

No branches or pull requests

1 participant