abort uploading large region map tiles as soon one fails

This commit is contained in:
UbitUmarov
2018-01-18 04:28:05 +00:00
parent 0a81e35697
commit dd491bba57
2 changed files with 22 additions and 15 deletions

View File

@@ -229,6 +229,7 @@ namespace OpenSim.Services.Connectors
string reply = SynchronousRestFormsRequester.MakeRequest("POST",
uri,
reqString,
30,
m_Auth);
if (reply != string.Empty)
{
@@ -271,7 +272,7 @@ namespace OpenSim.Services.Connectors
{
// This just dumps a warning for any operation that takes more than 100 ms
int tickdiff = Util.EnvironmentTickCountSubtract(tickstart);
m_log.DebugFormat("[MAP IMAGE CONNECTOR]: map tile uploaded in {0}ms", tickdiff);
m_log.DebugFormat("[MAP IMAGE CONNECTOR]: map tile upload time {0}ms", tickdiff);
}
return false;