mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
abort uploading large region map tiles as soon one fails
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user