Skip to content
This repository was archived by the owner on Dec 8, 2022. It is now read-only.

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

Conversation

kevin-bates
Copy link
Member

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

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 jupyter#36
@kevin-bates kevin-bates requested a review from akchinSTC June 19, 2019 21:27
Copy link
Collaborator

@akchinSTC akchinSTC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks Kevin

@kevin-bates kevin-bates merged commit e2a601d into jupyter:master Jun 19, 2019
@kevin-bates kevin-bates deleted the ensure-request-timeout-gt-launch-timeout branch June 19, 2019 22:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Automatically increase KG_REQUEST_TIMEOUT if less than KERNEL_LAUNCH_TIMEOUT
2 participants