exponential backoff when calling CreateRoom (#2977)

* exponential backoff when calling CreateRoom

* dz+bb review: check ctx cancellation, remove retry max

* bb review: fix loop condition

* raja review: use timer, bring back max tries
This commit is contained in:
Mathew Kamkar
2024-09-04 23:18:31 -07:00
committed by GitHub
parent a6e9795b59
commit 730fe51642
2 changed files with 27 additions and 7 deletions
+4 -2
View File
@@ -39,8 +39,10 @@ const (
// Default target to run when none is specified
// If not set, running mage will list available targets
var Default = Build
var checksummer = mageutil.NewChecksummer(".", goChecksumFile, ".go", ".mod")
var (
Default = Build
checksummer = mageutil.NewChecksummer(".", goChecksumFile, ".go", ".mod")
)
func init() {
checksummer.IgnoredPaths = []string{