Readme create, update site, clearer site publishing debug message
This commit is contained in:
parent
effa267b73
commit
ceb8ce6027
2 changed files with 41 additions and 7 deletions
|
@ -152,7 +152,7 @@ class Site:
|
|||
|
||||
# Update content.json on peers
|
||||
def publish(self, limit=3):
|
||||
self.log.info("Publishing to %s/%s peers..." % (limit, len(self.peers)))
|
||||
self.log.info( "Publishing to %s/%s peers..." % (len(self.peers), limit) )
|
||||
published = 0
|
||||
for key, peer in self.peers.items(): # Send update command to each peer
|
||||
result = {"exception": "Timeout"}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue