After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 764940 - Retry query if MusicBrainz is busy
Retry query if MusicBrainz is busy
Status: RESOLVED FIXED
Product: sound-juicer
Classification: Applications
Component: general
git master
Other All
: Normal normal
: ---
Assigned To: Sound Juicer Maintainers
Sound Juicer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-04-12 10:36 UTC by Phillip Wood
Modified: 2016-08-16 10:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Retry query if MusicBrainz is busy (3.61 KB, patch)
2016-04-12 10:36 UTC, Phillip Wood
committed Details | Review

Description Phillip Wood 2016-04-12 10:36:51 UTC
Recently MusicBrainz has been returning error 503 for some queries
when it is overloaded. This causes the lookup to fail. If it’s busy
wait a while and retry the query. To avoid overloading MusicBrainz
even more we limit the number of retries to 4 and wait 4 seconds for
the first retry, a further 11 seconds for the second and then 30
seconds between subsequent retries.
Comment 1 Phillip Wood 2016-04-12 10:36:56 UTC
Created attachment 325783 [details] [review]
Retry query if MusicBrainz is busy

Recently MusicBrainz has been returning error 503 for some queries when
it is overloaded. This causes the lookup to fail. If it’s busy wait a
while and retry the query. To avoid overloading MusicBrainz even more we
limit the number of retries to 4 and wait 4 seconds for the first retry,
a further 11 seconds for the second and then 30 seconds between
subsequent retries.
Comment 2 Phillip Wood 2016-08-16 10:31:54 UTC
Attachment 325783 [details] pushed as 9482097 - Retry query if MusicBrainz is busy