Skip to content

Commit

Permalink
change cull_idle_timeout_minimum to 1 from 500
Browse files Browse the repository at this point in the history
  • Loading branch information
mheilman committed Oct 9, 2017
1 parent 12592ef commit 241c7e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions notebook/services/kernels/kernelmanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ def _update_root_dir(self, proposal):
raise TraitError("kernel root dir %r is not a directory" % value)
return value

cull_idle_timeout_minimum = 300 # 5 minutes
cull_idle_timeout_minimum = 1
cull_idle_timeout = Integer(0, config=True,
help="""Timeout (in seconds) after which a kernel is considered idle and ready to be culled. Values of 0 or
lower disable culling. The minimum timeout is 300 seconds (5 minutes). Positive values less than the minimum value
lower disable culling. The minimum timeout is 1 second. Positive values less than the minimum value
will be set to the minimum."""
)

Expand Down

0 comments on commit 241c7e1

Please sign in to comment.