Skip to content

Retry loop in curl request logic #56

Closed
@shawnhind

Description

@shawnhind

The SDK includes a while loop that keeps retrying until a 429 is no longer received. In my case this behaviour is unexpected and undesirable. My app has many background jobs running for stores and has logic to queue jobs to retry later. I do not want the processes to sleep for a potentially infinite amount of time.

I've forked the repo to remove this logic for myself. I think at the very least this option should be made as a config which can be toggled on or off. If a config option is desired for this, I'll submit a pull request with that change.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions