Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

Delay retries for GET requests #712

Open
danfoster opened this issue May 3, 2019 · 0 comments
Open

Delay retries for GET requests #712

danfoster opened this issue May 3, 2019 · 0 comments

Comments

@danfoster
Copy link

Hi,

In #508 , logic was added to retry requests. There is a delay added between retries if the request is a POST. Would it be suitable to suitable to add that delay for all HTTP methods?

The use-case I'm finding is try a GET request too early, before influxdb has finished starting. I'm therefore getting a Connection refused returned straight away. Even with a high number of retries (50), the lack of delay causes them to cycle through too quickly.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant