Skip to content

Conversation

@coolderli
Copy link
Contributor

Add configures to doc: commit.status-check.num-retries, commit.status-check.min-wait-ms,commit.status-check.max-wait-ms ,commit.status-check.total-timeout-ms.

@github-actions github-actions bot added the docs label Jun 2, 2021
@coolderli
Copy link
Contributor Author

I am not sure if the description of commit.status-check.total-timeout-ms and commit.retry.total-timeout-ms are clear.

| commit.retry.min-wait-ms | 100 | Minimum time in milliseconds to wait before retrying a commit |
| commit.retry.max-wait-ms | 60000 (1 min) | Maximum time in milliseconds to wait before retrying a commit |
| commit.retry.total-timeout-ms | 1800000 (30 min) | Maximum time in milliseconds to wait before retrying a commit |
| commit.status-check.num-retries | 3 | Number of times to check the commit status before failing |
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this is a bit too unclear because it isn't clear what "check the commit status" or "failing" mean exactly. I think this should be "Number of times to check whether a commit succeeded after a connection is lost before failing due to an unknown commit state".

Copy link
Contributor

Choose a reason for hiding this comment

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

I added a fix for this.

@rdblue rdblue merged commit e750316 into apache:master Jun 18, 2021
@rdblue
Copy link
Contributor

rdblue commented Jun 18, 2021

Merged. Thanks, @coolderli!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants