1
0
Fork 0

Failsafe proxy fix

This commit is contained in:
Gregory Eremin 2013-01-20 18:18:55 +04:00
parent 531fcc9908
commit efaf9d6503
2 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@ module MusicBrainz
response = { body: nil, status: 500 } response = { body: nil, status: 500 }
MusicBrainz.config.tries_limit.times do MusicBrainz.config.tries_limit.times do
wait_util_ready!
response = super response = super
break if response[:status] == 200 break if response[:status] == 200
end end

View File

@ -1,3 +1,3 @@
module MusicBrainz module MusicBrainz
VERSION = "0.7.2" VERSION = "0.7.3"
end end