no need to specify content.json priority, its always downloaded first, peer broken after 3 hash failes, extra priority for css and js files
This commit is contained in:
parent
776b572c82
commit
bcd0c0025a
4 changed files with 22 additions and 17 deletions
|
@ -189,7 +189,7 @@ class Site:
|
|||
self.log.debug("Need content.json first")
|
||||
self.announce()
|
||||
if inner_path != "content.json": # Prevent double download
|
||||
task = self.worker_manager.addTask("content.json", peer, priority=99999)
|
||||
task = self.worker_manager.addTask("content.json", peer)
|
||||
task.get()
|
||||
self.loadContent()
|
||||
if not self.content: return False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue