Doubled Site Publish Limits
This commit is contained in:
parent
18da16e8d4
commit
7575e2d455
6 changed files with 7 additions and 6 deletions
|
@ -165,7 +165,7 @@ class FileRequest(object):
|
|||
peer = site.addPeer(self.connection.ip, self.connection.port, return_peer=True, source="update") # Add or get peer
|
||||
# On complete publish to other peers
|
||||
diffs = params.get("diffs", {})
|
||||
site.onComplete.once(lambda: site.publish(inner_path=inner_path, diffs=diffs, limit=3), "publish_%s" % inner_path)
|
||||
site.onComplete.once(lambda: site.publish(inner_path=inner_path, diffs=diffs, limit=6), "publish_%s" % inner_path)
|
||||
|
||||
# Load new content file and download changed files in new thread
|
||||
def downloader():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue