jupyter / nb2kg

Other
73 stars 31 forks source link

Ensure request-timeout is > launch-timeout + pad #38

Closed kevin-bates closed 5 years ago

kevin-bates commented 5 years ago

Added a default of 40 seconds for KERNEL_LAUNCH_TIMEOUT and a pad value of 2 seconds that can be changed via KG_LAUNCH_TIMEOUT_PAD. The manager code (where kernel starts occur) ensures that KG_REQUEST_TIMEOUT is at least KERNEL_LAUNCH_TIMEOUT + KG_LAUNCH_TIMEOUT_PAD.

Fixes #36