Skip to content
This repository has been archived by the owner on Jun 27, 2021. It is now read-only.

Allow customizing timeouts #103

Merged
merged 1 commit into from
Oct 16, 2019
Merged

Allow customizing timeouts #103

merged 1 commit into from
Oct 16, 2019

Conversation

DeviaVir
Copy link
Owner

This should allow us to customize the time the provider backs off for quota issues.

Also replaced some retry's with retryNotFound for #90

@DeviaVir DeviaVir force-pushed the customizable_timeouts branch from 47d15b3 to 8544af6 Compare October 15, 2019 18:06
"timeout_minutes": {
Type: schema.TypeInt,
Optional: true,
Default: 1, // 1 + (n*2) roof 16 = 1+2+4+8+16 = 31 seconds, 1 min should be "normal" operations
Copy link
Collaborator

Choose a reason for hiding this comment

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

should it default to 4 to stay consistent with the previous hard-coded default?

Copy link
Owner Author

Choose a reason for hiding this comment

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

I set this to 4 minutes, more or less baselessly and randomly, to fight some timeouts for a specific project, the 1 minute (as suggested by the comment) is based on maths

@DeviaVir DeviaVir merged commit 2a2c0f2 into master Oct 16, 2019
@DeviaVir DeviaVir deleted the customizable_timeouts branch October 16, 2019 07:10
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.

2 participants