mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-18 23:42:59 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
@@ -141,6 +141,7 @@ Two approaches can be applied to establish when the server is ready:
|
|||||||
### Polling the server model
|
### Polling the server model
|
||||||
|
|
||||||
The simplest way to check if a server is ready is to programmatically query the server model until two conditions are true:
|
The simplest way to check if a server is ready is to programmatically query the server model until two conditions are true:
|
||||||
|
|
||||||
1. The server name is contained in the `servers` response, and
|
1. The server name is contained in the `servers` response, and
|
||||||
2. `servers['servername']['ready']` is true.
|
2. `servers['servername']['ready']` is true.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user