From e533eef962fe05ea7ca156fa3420cb2a1d679297 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Wed, 4 Jul 2012 15:07:10 +0100 Subject: *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 --- OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs | 4 ++-- 1 file 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 private bool m_running = true; - private int m_timeout = 250; + private int m_timeout = 1000; // increase timeout 250; public PollServiceRequestManager(BaseHttpServer pSrv, uint pWorkerThreadCount, int pTimeout) { @@ -232,7 +232,7 @@ namespace OpenSim.Framework.Servers.HttpServer { while (m_running) { - Thread.Sleep(1000); // let the world move slow it to original polling rate + Thread.Sleep(100); // let the world move .. back to faster rate Watchdog.UpdateThread(); lock (m_retry_requests) { -- cgit v1.1