mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-17 06:52:59 +00:00
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:
@@ -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):
|
||||
|
Reference in New Issue
Block a user