Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add exponential backoff to reading config file #2467

Merged
merged 7 commits into from
Nov 21, 2024

Conversation

aaronburtle
Copy link
Contributor

@aaronburtle aaronburtle commented Nov 19, 2024

Why make this change?

Closes #2119

What is this change?

We add a try catch around the file reading in the FileSystemRuntimeConfigLoader class, and implement an exponential backoff for reading said file.

How was this tested?

Manually tested and ran against the test suite. A manual test can be run by having an editor with the file in question open and then closing the editor during the reading process.

Sample Request(s)

N/A

@RubenCerna2079
Copy link
Contributor

LGTM

@aaronburtle
Copy link
Contributor Author

/azp run

@aaronburtle
Copy link
Contributor Author

/azp run

@aaronburtle
Copy link
Contributor Author

/azp run

@aaronburtle
Copy link
Contributor Author

/azp run

@aaronburtle aaronburtle merged commit c9e836b into main Nov 21, 2024
7 checks passed
@aaronburtle aaronburtle deleted the dev/aaronburtle/AddBackoffToConfigFileRead branch November 21, 2024 22:23
abhishekkumams pushed a commit that referenced this pull request Nov 28, 2024
## Why make this change?

Closes #2119

## What is this change?

We add a try catch around the file reading in the
`FileSystemRuntimeConfigLoader` class, and implement an exponential
backoff for reading said file.

## How was this tested?

Manually tested and ran against the test suite. A manual test can be run
by having an editor with the file in question open and then closing the
editor during the reading process.

## Sample Request(s)

N/A

---------

Co-authored-by: RubenCerna2079 <[email protected]>
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.

Handle transient error messages while editing config file during hot reload
3 participants