Try to increase timeout

This commit is contained in:
Micke Nordin 2024-01-10 16:02:49 +01:00
parent 9631aaa5c6
commit 41b9d27644
Signed by untrusted user: Micke
GPG key ID: 0DA0A7A5708FE257

View file

@ -12,6 +12,7 @@ hub:
extraConfig:
oauthCode: |
from oauthenticator.generic import GenericOAuthenticator
c.JupyterHub.tornado_settings = { "request_timeout": 50, "connect_timeout": 5 }
c.JupyterHub.authenticator_class = GenericOAuthenticator
c.GenericOAuthenticator.client_id = os.environ['NEXTCLOUD_CLIENT_ID']
c.GenericOAuthenticator.client_secret = os.environ['NEXTCLOUD_CLIENT_ID']