webssh

Web based ssh client https://github.com/huashengdun/webssh webssh.huashengdun.org/
git clone http://git.hanabi.in/repos/webssh.git
Log | Files | Refs | README | LICENSE

commit 756712c468cdcf163e4ce4ccddf79b54ac8cf0e3
parent 0aebb80c78ce4153d83e8990a776fdef459f771e
Author: Sheng <webmaster0115@gmail.com>
Date:   Thu,  5 Apr 2018 14:10:31 +0800

Use self.loop

Diffstat:
Mmain.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main.py b/main.py @@ -259,7 +259,7 @@ class IndexHandler(MixinHandler, tornado.web.RequestHandler): else: worker_id = worker.id workers[worker_id] = worker - IOLoop.current().call_later(DELAY, recycle, worker) + self.loop.call_later(DELAY, recycle, worker) self.write(dict(id=worker_id, status=status))