Rev932, Skip news event from future, Disable siteSetOwned and setAutodownloadoptional when multiuser plugin enabled, Fix sidebar double click handlers, Log peer sent commands, Send modification to less peer if have enought peers, Close peers if more than 10 per site
This commit is contained in:
parent
5b821c46e5
commit
3f6f273fb1
7 changed files with 78 additions and 28 deletions
|
@ -107,6 +107,9 @@ class Peer(object):
|
|||
self.onConnectionError()
|
||||
return None # Connection failed
|
||||
|
||||
if config.debug:
|
||||
self.log("Send request: %s %s" % (params.get("site", ""), cmd))
|
||||
|
||||
for retry in range(1, 4): # Retry 3 times
|
||||
try:
|
||||
res = self.connection.request(cmd, params, stream_to)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue