Skip to content

Commit 96f6c9c

Browse files
authored
[Exporter] Add retry on "Operation timed out" error (#3897)
## Changes <!-- Summary of your changes that are easy to understand --> This happens sometimes when reading notebooks so we need to retry it ## Tests <!-- How is this tested? Please see the checklist below and also describe any other relevant tests --> - [x] `make test` run locally - [ ] relevant change in `docs/` folder - [ ] covered with integration tests in `internal/acceptance` - [ ] relevant acceptance tests are passing - [ ] using Go SDK
1 parent 42e1a45 commit 96f6c9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exporter/util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ func getEnvAsInt(envName string, defaultValue int) int {
390390
var (
391391
maxRetries = 5
392392
retryDelaySeconds = 2
393-
retriableErrors = []string{"deadline exceeded", "Error handling request", "Timed out after "}
393+
retriableErrors = []string{"deadline exceeded", "Error handling request", "Timed out after ", "Operation timed out"}
394394
)
395395

396396
func isRetryableError(err string, i int) bool {

0 commit comments

Comments
 (0)