Skip to content

Commit 8c5906a

Browse files
authored
Merge pull request #523 from jwindgassen/timeout-float
Make ServerProcess.timeout a Float
2 parents 0dd3d67 + f54637a commit 8c5906a

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,
@@ -102,8 +103,8 @@ class ServerProcess(Configurable):
102103
""",
103104
).tag(config=True)
104105

105-
timeout = Int(
106-
5, help="Timeout in seconds for the process to become ready, default 5s."
106+
timeout = Float(
107+
5.0, help="Timeout in seconds for the process to become ready, default 5s."
107108
).tag(config=True)
108109

109110
absolute_url = Bool(

0 commit comments

Comments
 (0)