Is your feature request related to a problem? Please describe.
Some of our templates live on a remote server that is sometimes pretty slow which means the extension will not load properly (missing button and menu option) with the default 5 second timeout for the requests.
Describe the solution you'd like
An arbitrary value for timeout that is higher than 5 seconds (something like 15 seconds) or a configurable timeout.
Describe alternatives you've considered
N/A
Additional context
Example on my fork with increased timeout to 60 seconds which fixed my issue: https://github.com/cccs-nik/jupyterlab_templates/compare/main...cccs-nik:jupyterlab_templates:feature/increased-timeout?expand=1 It's missing the increased timeout on the second request which would also sometimes fail but wasn't as problematic (you could try initializing a notebook again easily). I also moved ILauncher from 'optional' to 'requires'. I'm not sure why ILauncher would be optional but I don't think it really was an issue for me.
Is your feature request related to a problem? Please describe. Some of our templates live on a remote server that is sometimes pretty slow which means the extension will not load properly (missing button and menu option) with the default 5 second timeout for the requests.
Describe the solution you'd like An arbitrary value for timeout that is higher than 5 seconds (something like 15 seconds) or a configurable timeout.
Describe alternatives you've considered N/A
Additional context Example on my fork with increased timeout to 60 seconds which fixed my issue: https://github.com/cccs-nik/jupyterlab_templates/compare/main...cccs-nik:jupyterlab_templates:feature/increased-timeout?expand=1 It's missing the increased timeout on the second request which would also sometimes fail but wasn't as problematic (you could try initializing a notebook again easily). I also moved ILauncher from 'optional' to 'requires'. I'm not sure why ILauncher would be optional but I don't think it really was an issue for me.