Query and send more hashfield
This commit is contained in:
parent
30a2116abf
commit
713a2f88a9
1 changed files with 2 additions and 2 deletions
|
@ -933,7 +933,7 @@ class Site(object):
|
|||
self.log.debug("Connected: %s, Need to close: %s, Closed: %s" % (len(connected_peers), need_to_close, closed))
|
||||
|
||||
# Send hashfield to peers
|
||||
def sendMyHashfield(self, limit=3):
|
||||
def sendMyHashfield(self, limit=5):
|
||||
if not self.content_manager.hashfield: # No optional files
|
||||
return False
|
||||
|
||||
|
@ -949,7 +949,7 @@ class Site(object):
|
|||
return sent
|
||||
|
||||
# Update hashfield
|
||||
def updateHashfield(self, limit=3):
|
||||
def updateHashfield(self, limit=5):
|
||||
# Return if no optional files
|
||||
if not self.content_manager.hashfield and not self.content_manager.contents.get("content.json", {}).get("files_optional"):
|
||||
return False
|
||||
|
|
Loading…
Reference in a new issue