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

Update job specs examples #140

Merged
merged 2 commits into from
Jan 25, 2022
Merged

Update job specs examples #140

merged 2 commits into from
Jan 25, 2022

Conversation

krebernisak
Copy link
Collaborator

No description provided.

@krebernisak krebernisak requested a review from aalu1418 January 25, 2022 16:44
Copy link
Collaborator

@aalu1418 aalu1418 left a comment

Choose a reason for hiding this comment

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

Overall looks good to me!

i've never tested using env var parameters since it usually requires rebooting a node to test that it is set. But i believe it does work like that

Comment on lines 76 to 80
usePreflight = false
commitment = "confirmed"
pollingInterval = "1s"
pollingCtxTimeout = "2s"
staleTimeout = "1m"
Copy link
Collaborator

Choose a reason for hiding this comment

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

these are optional parameters, there are defaults included in the relay...not sure if we should have them here or not

Copy link
Collaborator

Choose a reason for hiding this comment

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

if you wanted to include these, then should they be included in the bootstrap spec too?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yup!

  1. Are all relevant for the bootstrap node?
  2. Are default values listed or should I fish for default values to document?

Copy link
Collaborator

Choose a reason for hiding this comment

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

  1. the preflight is the only one that is not since it's for transmissions (although it will just default to false anyway)
  2. those are the default values! (the default pollingCtxTimeout is calculated via double the pollingInterval)

@krebernisak krebernisak requested a review from aalu1418 January 25, 2022 17:03
@krebernisak krebernisak merged commit 15bb661 into develop Jan 25, 2022
@krebernisak krebernisak deleted the chore/job-spec-update-1 branch January 25, 2022 17:04
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.

2 participants