Skip to content

reduce retries to 3 and quicken retry rate, catch vrm error and rethrow rest#391

Merged
twelch merged 2 commits intocallWithRetry-fixesfrom
callWithRetry-fixes-node-fetch
Dec 18, 2024
Merged

reduce retries to 3 and quicken retry rate, catch vrm error and rethrow rest#391
twelch merged 2 commits intocallWithRetry-fixesfrom
callWithRetry-fixes-node-fetch

Conversation

@twelch
Copy link
Copy Markdown
Contributor

@twelch twelch commented Dec 18, 2024

No description provided.

@twelch twelch merged commit ea706c3 into callWithRetry-fixes Dec 18, 2024
@twelch twelch deleted the callWithRetry-fixes-node-fetch branch December 18, 2024 00:23
twelch added a commit that referenced this pull request Dec 18, 2024
…ocketClosed error (#388)

* callWithRetry: add optional ifErrorMsgContains string, retry all errors unless error message contains that string

* rasterStats: only catch and return default stats for -No Values were found in the given geometry- error message

* comment nits

* rebuild docs

* switch callWithRetry to look for fetch failed not SocketClosed, temporarily log caught errors

* comment out rethrow

* rasterStats: return defaultStats on unknown error with extra logging instead of rethrow, to better understand the errors

* simplify rasterStats caught error log, callWithRetry - add exponential backoff and up maxRetry to 4

* Add back node-fetch polyfill for cog and flatgeobuf clients (#390)

* polyfill with node-fetch in cog and flatgeobuf
* simplify rasterStats caught error log, callWithRetry - add exponential backoff and up maxRetry to 4

* reduce retries to 3 and quicken retry rate, catch vrm error and rethrow rest (#391)

reduce retries to 3 and quicken retry rate, catch vrm error and rethrow rest

* simplify error message
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.

1 participant