*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

avinationmerge
UbitUmarov 2012-07-04 15:07:10 +01:00
parent b2fa20001f
commit e533eef962
1 changed files with 2 additions and 2 deletions

View File

@ -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)
{