remove sleep
This commit is contained in:
parent
872341bec0
commit
4e6a8d03f6
1 changed files with 1 additions and 2 deletions
|
@ -45,6 +45,7 @@ class Handler(BaseRequestHandler):
|
||||||
response = b'WAITING'
|
response = b'WAITING'
|
||||||
queue = True
|
queue = True
|
||||||
socket = self.request[1]
|
socket = self.request[1]
|
||||||
|
logger.debug("respond to %s: %s", self.client_address[0], response)
|
||||||
socket.sendto(response, self.client_address)
|
socket.sendto(response, self.client_address)
|
||||||
if queue:
|
if queue:
|
||||||
self.server.player.queue.put('')
|
self.server.player.queue.put('')
|
||||||
|
@ -140,8 +141,6 @@ def main():
|
||||||
|
|
||||||
peer = (args.peer, args.peer_port)
|
peer = (args.peer, args.peer_port)
|
||||||
|
|
||||||
time.sleep(10)
|
|
||||||
|
|
||||||
DEBUG = args.debug
|
DEBUG = args.debug
|
||||||
if DEBUG:
|
if DEBUG:
|
||||||
log_format = '%(asctime)s:%(levelname)s:%(name)s:%(message)s'
|
log_format = '%(asctime)s:%(levelname)s:%(name)s:%(message)s'
|
||||||
|
|
Loading…
Reference in a new issue