webserver.py: fix intendation
This commit is contained in:
+2
-2
@@ -182,8 +182,8 @@ def get_update(_=None):
|
||||
logging.info('HEARTBEAT %s (%s)', client.id, "; ".join(client.info()))
|
||||
yield to_json_sse(dict(type='heartbeat'))
|
||||
lastmsg = time.time()
|
||||
# we need to specify a value > 0 to give other greenlets a chance to continue
|
||||
gevent.sleep(delay)
|
||||
# we need to specify a value > 0 to give other greenlets a chance to continue
|
||||
gevent.sleep(delay)
|
||||
except GeneratorExit as e:
|
||||
logging.info("except clause %r", repr(e))
|
||||
logging.info('CLOSED %s', client.id)
|
||||
|
||||
Reference in New Issue
Block a user