mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 02:36:00 +08:00
create a new PollServiceHttpRequest req per loop since they can be sent to
another working thread
This commit is contained in:
@@ -321,13 +321,9 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||
|
||||
private void PoolWorkerJob()
|
||||
{
|
||||
PollServiceHttpRequest req;
|
||||
StreamReader str;
|
||||
|
||||
// while (true)
|
||||
while (m_running)
|
||||
{
|
||||
req = m_requests.Dequeue(5000);
|
||||
PollServiceHttpRequest req = m_requests.Dequeue(5000);
|
||||
|
||||
Watchdog.UpdateThread();
|
||||
if (req != null)
|
||||
|
||||
Reference in New Issue
Block a user