Fix seed cap retry count
parent
8d3d45f767
commit
8a9c4101cb
|
|
@ -303,7 +303,8 @@ void LLViewerRegionImpl::requestBaseCapabilitiesCoro(U64 regionHandle)
|
|||
regionp = NULL;
|
||||
result = httpAdapter->postAndSuspend(httpRequest, url, capabilityNames);
|
||||
|
||||
++mSeedCapAttempts;
|
||||
// <FS:Ansariel> Fix seed cap retry count
|
||||
//++mSeedCapAttempts;
|
||||
|
||||
regionp = LLWorld::getInstance()->getRegionFromHandle(regionHandle);
|
||||
if (!regionp) //region was removed
|
||||
|
|
@ -316,6 +317,7 @@ void LLViewerRegionImpl::requestBaseCapabilitiesCoro(U64 regionHandle)
|
|||
{
|
||||
LL_WARNS("AppInit", "Capabilities") << "Received results for a stale capabilities request!" << LL_ENDL;
|
||||
// setup for retry.
|
||||
++mSeedCapAttempts; // <FS:Ansariel> Fix seed cap retry count
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
@ -323,6 +325,7 @@ void LLViewerRegionImpl::requestBaseCapabilitiesCoro(U64 regionHandle)
|
|||
{
|
||||
LL_WARNS("AppInit", "Capabilities") << "Malformed response" << LL_ENDL;
|
||||
// setup for retry.
|
||||
++mSeedCapAttempts; // <FS:Ansariel> Fix seed cap retry count
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
@ -332,6 +335,7 @@ void LLViewerRegionImpl::requestBaseCapabilitiesCoro(U64 regionHandle)
|
|||
{
|
||||
LL_WARNS("AppInit", "Capabilities") << "HttpStatus error " << LL_ENDL;
|
||||
// setup for retry.
|
||||
++mSeedCapAttempts; // <FS:Ansariel> Fix seed cap retry count
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue