mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-26 16:15:51 +03:00
[GH-ISSUE #151] Retry-After needs small additional delay to work properly #68
Labels
No labels
api-bug
bug
dependencies
documentation
duplicate
enhancement
external-ide
headless-mode
implicit-grant-flow
invalid
missing-endpoint
pr-welcome
private-api
pull-request
question
spotipy3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotipy#68
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @akashlevy on GitHub (Jan 12, 2017).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/151
The code for Retry-After doesn't work for me. I'm on a very fast computer with a very fast internet connection and the problem I'm having is that even though the request is being retried after the specified time, the server is still not ready for the request when it arrives. I fixed this problem for myself by adding an additional one second delay to the retry code. This should be fixed in a future version of this library. I'd be happy to make a pull request if anyone else is having this issue or if the authors think it would be useful.
@plamere commented on GitHub (Jan 22, 2017):
I'll incorporate this change
@bentappin commented on GitHub (Jan 22, 2017):
Seems sensible to wait for the delay that Spotify specify. Maybe they were just a bit slow that day for some reason?
@akashlevy commented on GitHub (Jan 22, 2017):
I'd say there should be some small additional timeout, perhaps a couple milliseconds? In case this is a regular thing, it would be good to have a safety net.
@DavidDiasData commented on GitHub (Aug 18, 2019):
Hi, I have the same problem.
Could you update the solution, please?
My best,