diff options
author | UbitUmarov | 2018-01-18 04:28:05 +0000 |
---|---|---|
committer | UbitUmarov | 2018-01-18 04:28:05 +0000 |
commit | dd491bba57bcf5042fd5f1bbad28fe5cde8a461b (patch) | |
tree | 7965d236fe500e8507a1485720f2f321f53c0a7a /OpenSim/Services | |
parent | pesty warning (diff) | |
download | opensim-SC-dd491bba57bcf5042fd5f1bbad28fe5cde8a461b.zip opensim-SC-dd491bba57bcf5042fd5f1bbad28fe5cde8a461b.tar.gz opensim-SC-dd491bba57bcf5042fd5f1bbad28fe5cde8a461b.tar.bz2 opensim-SC-dd491bba57bcf5042fd5f1bbad28fe5cde8a461b.tar.xz |
abort uploading large region map tiles as soon one fails
Diffstat (limited to 'OpenSim/Services')
-rw-r--r-- | OpenSim/Services/Connectors/MapImage/MapImageServicesConnector.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Services/Connectors/MapImage/MapImageServicesConnector.cs b/OpenSim/Services/Connectors/MapImage/MapImageServicesConnector.cs index 84c4efe..762d2f7 100644 --- a/OpenSim/Services/Connectors/MapImage/MapImageServicesConnector.cs +++ b/OpenSim/Services/Connectors/MapImage/MapImageServicesConnector.cs | |||
@@ -229,6 +229,7 @@ namespace OpenSim.Services.Connectors | |||
229 | string reply = SynchronousRestFormsRequester.MakeRequest("POST", | 229 | string reply = SynchronousRestFormsRequester.MakeRequest("POST", |
230 | uri, | 230 | uri, |
231 | reqString, | 231 | reqString, |
232 | 30, | ||
232 | m_Auth); | 233 | m_Auth); |
233 | if (reply != string.Empty) | 234 | if (reply != string.Empty) |
234 | { | 235 | { |
@@ -271,7 +272,7 @@ namespace OpenSim.Services.Connectors | |||
271 | { | 272 | { |
272 | // This just dumps a warning for any operation that takes more than 100 ms | 273 | // This just dumps a warning for any operation that takes more than 100 ms |
273 | int tickdiff = Util.EnvironmentTickCountSubtract(tickstart); | 274 | int tickdiff = Util.EnvironmentTickCountSubtract(tickstart); |
274 | m_log.DebugFormat("[MAP IMAGE CONNECTOR]: map tile uploaded in {0}ms", tickdiff); | 275 | m_log.DebugFormat("[MAP IMAGE CONNECTOR]: map tile upload time {0}ms", tickdiff); |
275 | } | 276 | } |
276 | 277 | ||
277 | return false; | 278 | return false; |