Rev966, New Greenlet debug hook to support Gevent 1.1.0, Publish to 8 peers on external publish request, Dont try to download banned user files, Check user files even if its own site
This commit is contained in:
parent
48db062b49
commit
0897154584
7 changed files with 30 additions and 30 deletions
src/File
|
@ -364,7 +364,7 @@ class FileRequest(object):
|
|||
self.response({"error": "Only local host allowed"})
|
||||
|
||||
site = self.sites.get(params["site"])
|
||||
num = site.publish(inner_path=params.get("inner_path", "content.json"))
|
||||
num = site.publish(limit=8, inner_path=params.get("inner_path", "content.json"))
|
||||
|
||||
self.response({"ok": "Successfuly published to %s peers" % num})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue