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

Make number of retries user configurable #174

Open
alastair opened this issue Jul 15, 2015 · 1 comment
Open

Make number of retries user configurable #174

alastair opened this issue Jul 15, 2015 · 1 comment
Milestone

Comments

@alastair
Copy link
Owner

Currently we retry if a request fails with a transient error state. There are some cases where people might want to fail immediately (e.g. if time is an issue and there is something to fall back on - the acousticbrainz website is an example). We should move this parameter value to something configurable. Perhaps as a _retries underscore value for people to only use if they know what they're doing.

Related to this is that we might want to set a custom socket timeout. People can do this currently by setting the timeout in the socket class before using the api, but we could make it part of our api too.

@alastair alastair added this to the 0.6 milestone Jul 15, 2015
@JonnyJD JonnyJD changed the title Make number of retires user configurable Make number of retries user configurable Jul 21, 2015
@alastair alastair modified the milestones: 0.6, 0.7 Nov 15, 2015
iTaybb added a commit to iTaybb/python-musicbrainzngs that referenced this issue May 10, 2017
…). Underscored so people only use if they know what they're doing.

Solved issues alastair#174 and alastair#218.

Signed-off-by: Itay Brandes <[email protected]>
@alastair
Copy link
Owner Author

Fixed in #219

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

No branches or pull requests

2 participants