We use a simple batch connect app to start jupyterlab inside a conda environment on a shared file system (natively on the worker node, not inside a container).
We notice that sometimes a new session becomes available to the user a few seconds before the jupyterlab server is actually “ready” - if the user clicks “Connect” too quickly they can be greeted by a “Failed to connect” message.
If they click again 2 seconds later, it works fine.
My question: How does OOD determine whether a session is “ready”?
Can I configure an additional delay, or some other condition to be fulfilled before letting a user connect?
What would be best practice here?
P.S. This is still on OOD 2 but happy to upgrade if this mechanism changed in OOD3.