Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: allow compute timeouts to be configured #2931

Merged
merged 2 commits into from
Oct 20, 2023
Merged

fix: allow compute timeouts to be configured #2931

merged 2 commits into from
Oct 20, 2023

Conversation

frrist
Copy link
Member

@frrist frrist commented Oct 17, 2023

@frrist frrist requested review from simonwo and rossjones October 17, 2023 21:07
@frrist frrist self-assigned this Oct 17, 2023
Comment on lines +30 to +35
{
FlagName: "default-job-execution-timeout",
ConfigPath: types.NodeComputeJobTimeoutsJobExecutionTimeoutClientIDBypassList,
DefaultValue: Default.Node.Compute.JobTimeouts.DefaultJobExecutionTimeout,
Description: `default value for the execution timeout this compute node will assign to jobs with no timeout requirement defined.`,
},
Copy link
Contributor

Choose a reason for hiding this comment

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

FYI this value should also be used by the requester node which will apply a default timeout if the timeout is below the minimum timeout. Same with min timeout above. So we will need to find a way to share these flags sooner rather than later.

Copy link
Member Author

Choose a reason for hiding this comment

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

Follow on for this here: #2940

@simonwo
Copy link
Contributor

simonwo commented Oct 18, 2023

You will need to inform the LabDAO users that you have changed the name of the flag – please make a note to do this when you make the release.

@frrist frrist merged commit e169ae0 into main Oct 20, 2023
13 checks passed
@frrist frrist deleted the frrist/fix/2870 branch October 20, 2023 17:32
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.

bacalhau serve --max-timeout is broken
2 participants