Skip to content

Increase gateway retry interval, retry max, and request timeouts#233

Merged
jinnthehuman merged 2 commits intoGoogleCloudDataproc:mainfrom
jinnthehuman:addGatewayConfigChanges
Mar 19, 2025
Merged

Increase gateway retry interval, retry max, and request timeouts#233
jinnthehuman merged 2 commits intoGoogleCloudDataproc:mainfrom
jinnthehuman:addGatewayConfigChanges

Conversation

@jinnthehuman
Copy link
Collaborator

Serverless instances can take more than 5 minutes to start up so when jupyter server attempts to connect to the kernel, the default gateway interval and max can cause it to timeout and drop messages.

Batch creation is done via a POST request and can take up to 10 minutes to be created (POST response is returned). This change increases that request timeout to be 10 minutes.

All of these values are treated as minimums and will be set if and only if the config setting is not set or the config setting is less than the min value.

Serverless instances can take more than 5 minutes to start up so when jupyter server attempts to connect to the kernel, the default gateway interval and max can cause it to timeout and drop messages.

Batch creation is done via a POST request and can take up to 10 minutes to be created (POST response is returned). This change increases that request timeout to be 10 minutes.

All of these values are treated as minimums and will be set if and only if the config setting is not set or the config setting is less than the min value.
@jinnthehuman jinnthehuman force-pushed the addGatewayConfigChanges branch from 498782e to f338a0e Compare March 19, 2025 00:23
@jinnthehuman jinnthehuman merged commit 56cdbb7 into GoogleCloudDataproc:main Mar 19, 2025
4 of 5 checks passed
saranyaloganathan23 pushed a commit to Shubha-accenture/dataproc-jupyter-plugin-fork that referenced this pull request Apr 28, 2025
…gleCloudDataproc#233)

* Increase gateway retry interval, retry max, and request timeouts

Serverless instances can take more than 5 minutes to start up so when jupyter server attempts to connect to the kernel, the default gateway interval and max can cause it to timeout and drop messages.

Batch creation is done via a POST request and can take up to 10 minutes to be created (POST response is returned). This change increases that request timeout to be 10 minutes.

All of these values are treated as minimums and will be set if and only if the config setting is not set or the config setting is less than the min value.

* Update the set action to be more pythonic
amatheen pushed a commit to Shubha-accenture/dataproc-jupyter-plugin-fork that referenced this pull request Apr 28, 2025
…gleCloudDataproc#233)

* Increase gateway retry interval, retry max, and request timeouts

Serverless instances can take more than 5 minutes to start up so when jupyter server attempts to connect to the kernel, the default gateway interval and max can cause it to timeout and drop messages.

Batch creation is done via a POST request and can take up to 10 minutes to be created (POST response is returned). This change increases that request timeout to be 10 minutes.

All of these values are treated as minimums and will be set if and only if the config setting is not set or the config setting is less than the min value.

* Update the set action to be more pythonic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants