*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
parent
b2fa20001f
commit
e533eef962
|
@ -182,7 +182,7 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||||
|
|
||||||
private bool m_running = true;
|
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)
|
public PollServiceRequestManager(BaseHttpServer pSrv, uint pWorkerThreadCount, int pTimeout)
|
||||||
{
|
{
|
||||||
|
@ -232,7 +232,7 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||||
{
|
{
|
||||||
while (m_running)
|
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();
|
Watchdog.UpdateThread();
|
||||||
lock (m_retry_requests)
|
lock (m_retry_requests)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue