relax sync check from 1 minute to 5 minutes

This commit is contained in:
Damien Elmes 2009-04-10 22:34:47 +09:00
parent 090161e69f
commit 35dd5c9c51

View file

@ -83,7 +83,7 @@ Error: %s""" % `error`)
self.setStatus("") self.setStatus("")
return return
timediff = abs(proxy.timestamp - time.time()) timediff = abs(proxy.timestamp - time.time())
if timediff > 60: if timediff > 300:
self.emit(SIGNAL("syncClockOff"), timediff) self.emit(SIGNAL("syncClockOff"), timediff)
return return
# reconnect # reconnect