Skip to content

Commit f54637a

Browse files
authored
Make ServerProcess.timeout a Float
1 parent b0c7feb commit f54637a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

jupyter_server_proxy/config.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
Bool,
1717
Callable,
1818
Dict,
19+
Float,
1920
Instance,
2021
Int,
2122
List,
@@ -106,8 +107,8 @@ class ServerProcess(Configurable):
106107
""",
107108
).tag(config=True)
108109

109-
timeout = Int(
110-
5, help="Timeout in seconds for the process to become ready, default 5s."
110+
timeout = Float(
111+
5.0, help="Timeout in seconds for the process to become ready, default 5s."
111112
).tag(config=True)
112113

113114
absolute_url = Bool(

0 commit comments

Comments
 (0)