add Proxy.check_routes

checks to ensure proxy table and user db are in sync

called on each last-activity check with the proxy (5 minutes)
This commit is contained in:
Min RK
2015-02-06 14:25:27 -08:00
parent d1c42f960c
commit 0dc3150762
2 changed files with 18 additions and 0 deletions

View File

@@ -869,6 +869,7 @@ class JupyterHub(Application):
user.last_activity = max(user.last_activity, dt)
self.db.commit()
yield self.proxy.check_routes(routes)
@gen.coroutine
def start(self):