aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/HttpServer/BaseStreamHandler.cs
diff options
context:
space:
mode:
authorDiva Canto2013-07-17 11:19:36 -0700
committerDiva Canto2013-07-17 11:19:36 -0700
commite46459ef21e1ee5ceaeca70365a7c881d33b09ce (patch)
tree519428c7148d85f6d8b114710928fb41f2edbbfd /OpenSim/Framework/Servers/HttpServer/BaseStreamHandler.cs
parentRemoved the MapItems thread. Redirected the map items requests to the service... (diff)
downloadopensim-SC_OLD-e46459ef21e1ee5ceaeca70365a7c881d33b09ce.zip
opensim-SC_OLD-e46459ef21e1ee5ceaeca70365a7c881d33b09ce.tar.gz
opensim-SC_OLD-e46459ef21e1ee5ceaeca70365a7c881d33b09ce.tar.bz2
opensim-SC_OLD-e46459ef21e1ee5ceaeca70365a7c881d33b09ce.tar.xz
Cleared up much confusion in PollServiceRequestManager. Here's the history:
When Melanie added the web fetch inventory throttle to core, she made the long poll requests (EQs) effectively be handled on an active loop. All those requests, if they existed, were being constantly dequeued, checked for events (which most often they didn't have), and requeued again. This was an active loop thread on a 100ms cycle! This fixes the issue. Now the inventory requests, if they aren't ready to be served, are placed directly back in the queue, but the long poll requests aren't placed there until there are events ready to be sent or timeout has been reached. This puts the LongPollServiceWatcherThread back to 1sec cycle, as it was before.
Diffstat (limited to 'OpenSim/Framework/Servers/HttpServer/BaseStreamHandler.cs')
0 files changed, 0 insertions, 0 deletions