diff options
author | UbitUmarov | 2015-09-09 23:17:18 +0100 |
---|---|---|
committer | UbitUmarov | 2015-09-09 23:17:18 +0100 |
commit | b93412972eb992b31864dd03e4dda2b235f2244e (patch) | |
tree | d59d7785e5299fd48319147a0dbe34cbb63c8a8e /OpenSim/Framework/WebUtil.cs | |
parent | minor clean, letting small classes be own module class (diff) | |
download | opensim-SC_OLD-b93412972eb992b31864dd03e4dda2b235f2244e.zip opensim-SC_OLD-b93412972eb992b31864dd03e4dda2b235f2244e.tar.gz opensim-SC_OLD-b93412972eb992b31864dd03e4dda2b235f2244e.tar.bz2 opensim-SC_OLD-b93412972eb992b31864dd03e4dda2b235f2244e.tar.xz |
revert SynchronousRestObjectRequester timeout to miliseconds, and fix where it was wrong set in seconds
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/WebUtil.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/WebUtil.cs b/OpenSim/Framework/WebUtil.cs index f834baa..3436984 100644 --- a/OpenSim/Framework/WebUtil.cs +++ b/OpenSim/Framework/WebUtil.cs | |||
@@ -1246,7 +1246,7 @@ namespace OpenSim.Framework | |||
1246 | auth.AddAuthorization(ht.Headers); | 1246 | auth.AddAuthorization(ht.Headers); |
1247 | 1247 | ||
1248 | if (pTimeout != 0) | 1248 | if (pTimeout != 0) |
1249 | request.Timeout = pTimeout * 1000; | 1249 | request.Timeout = pTimeout; |
1250 | 1250 | ||
1251 | if (maxConnections > 0 && ht.ServicePoint.ConnectionLimit < maxConnections) | 1251 | if (maxConnections > 0 && ht.ServicePoint.ConnectionLimit < maxConnections) |
1252 | ht.ServicePoint.ConnectionLimit = maxConnections; | 1252 | ht.ServicePoint.ConnectionLimit = maxConnections; |