Be sure to throw if we exhaust retries
This commit is contained in:
parent
90ec0f1f9d
commit
133047a495
|
@ -359,7 +359,7 @@ namespace MediaBrowser.Installer
|
|||
{
|
||||
return null;
|
||||
}
|
||||
if (e.Status == WebExceptionStatus.Timeout || e.Status == WebExceptionStatus.ConnectFailure || e.Status == WebExceptionStatus.ProtocolError)
|
||||
if (retryCount < 3 && (e.Status == WebExceptionStatus.Timeout || e.Status == WebExceptionStatus.ConnectFailure || e.Status == WebExceptionStatus.ProtocolError))
|
||||
{
|
||||
Thread.Sleep(500); //wait just a sec
|
||||
PrepareTempLocation(); //clear this out
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
<PublisherName>Media Browser Team</PublisherName>
|
||||
<SuiteName>Media Browser</SuiteName>
|
||||
<OpenBrowserOnPublish>false</OpenBrowserOnPublish>
|
||||
<ApplicationRevision>48</ApplicationRevision>
|
||||
<ApplicationRevision>50</ApplicationRevision>
|
||||
<ApplicationVersion>0.1.1.%2a</ApplicationVersion>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<PublishWizardCompleted>true</PublishWizardCompleted>
|
||||
|
|
Loading…
Reference in New Issue
Block a user