equalitie/ouisync

Throttle DHT announces across repositories

Opened this issue · 0 comments

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.