remove potential fingerprinting of site owner
inspired by @geekless 's829fd46781
commit at829fd46781
previously 0net would announce owned sites more frequently which can help determine site owner
This commit is contained in:
parent
981769b051
commit
aa19bcf2e0
1 changed files with 2 additions and 2 deletions
|
@ -313,8 +313,8 @@ class FileServer(ConnectionServer):
|
|||
def announceSite(self, site):
|
||||
site.announce(mode="update", pex=False)
|
||||
active_site = time.time() - site.settings.get("modified", 0) < 24 * 60 * 60
|
||||
if site.settings["own"] or active_site:
|
||||
# Check connections more frequently on own and active sites to speed-up first connections
|
||||
if active_site:
|
||||
# Check connections more frequently on active sites to speed-up first connections
|
||||
site.needConnections(check_site_on_reconnect=True)
|
||||
site.sendMyHashfield(3)
|
||||
site.updateHashfield(3)
|
||||
|
|
Loading…
Reference in a new issue