diff --git a/db_transfer.py b/db_transfer.py index 05bb31a..0da6fe4 100644 --- a/db_transfer.py +++ b/db_transfer.py @@ -181,7 +181,7 @@ class DbTransfer(object): if len(new_servers) > 0: from shadowsocks import eventloop - self.event.wait(eventloop.TIMEOUT_PRECISION) + self.event.wait(eventloop.TIMEOUT_PRECISION + eventloop.TIMEOUT_PRECISION / 2) for port in new_servers.keys(): passwd, cfg = new_servers[port] logging.info('db start server at port [%s] pass [%s]' % (port, passwd))