mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
*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
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user