aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorUbitUmarov2012-07-04 15:07:10 +0100
committerUbitUmarov2012-07-04 15:07:10 +0100
commite533eef962fe05ea7ca156fa3420cb2a1d679297 (patch)
treef1637d8bde79fe3ac9ce517e927e142703d101ed /OpenSim
parent*test* slow http retries pool rate to original 1s (diff)
downloadopensim-SC-e533eef962fe05ea7ca156fa3420cb2a1d679297.zip
opensim-SC-e533eef962fe05ea7ca156fa3420cb2a1d679297.tar.gz
opensim-SC-e533eef962fe05ea7ca156fa3420cb2a1d679297.tar.bz2
opensim-SC-e533eef962fe05ea7ca156fa3420cb2a1d679297.tar.xz
*test2* http poll: increased again the pool rate do 10/s but increased timeout to 1s. So data there is less delay when there is new data, but enought waiting time for it to be avaiable
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs b/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs
index 36f2b9b..125d9c2 100644
--- a/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs
+++ b/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs
@@ -182,7 +182,7 @@ namespace OpenSim.Framework.Servers.HttpServer
182 182
183 private bool m_running = true; 183 private bool m_running = true;
184 184
185 private int m_timeout = 250; 185 private int m_timeout = 1000; // increase timeout 250;
186 186
187 public PollServiceRequestManager(BaseHttpServer pSrv, uint pWorkerThreadCount, int pTimeout) 187 public PollServiceRequestManager(BaseHttpServer pSrv, uint pWorkerThreadCount, int pTimeout)
188 { 188 {
@@ -232,7 +232,7 @@ namespace OpenSim.Framework.Servers.HttpServer
232 { 232 {
233 while (m_running) 233 while (m_running)
234 { 234 {
235 Thread.Sleep(1000); // let the world move slow it to original polling rate 235 Thread.Sleep(100); // let the world move .. back to faster rate
236 Watchdog.UpdateThread(); 236 Watchdog.UpdateThread();
237 lock (m_retry_requests) 237 lock (m_retry_requests)
238 { 238 {