mirror of https://github.com/zulip/zulip.git
c32b16715d
This method was new in Tornado 4.0. It saves us from having to get the time ourselves and do the arithmetic -- which not only makes the code a bit shorter, but also easier to get right. Tornado docs (see http://www.tornadoweb.org/en/stable/ioloop.html) say we should have been getting the time from `ioloop.time()` rather than hardcoding `time.time()`, because the loop could e.g. be running on the `time.monotonic()` clock. |
||
---|---|---|
.. | ||
__init__.py | ||
application.py | ||
descriptors.py | ||
event_queue.py | ||
exceptions.py | ||
handlers.py | ||
ioloop_logging.py | ||
socket.py | ||
views.py | ||
websocket_client.py |