diff options
author | Melanie | 2012-09-14 21:24:25 +0200 |
---|---|---|
committer | Melanie | 2012-09-14 21:24:25 +0200 |
commit | 387e59ff7f60f2b12526eaacd93581f76abe26e1 (patch) | |
tree | 6255bde5b8aed92e48eee4fb2e1caa03819c355f /OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs | |
parent | Allow setting connection limits, part 2 (diff) | |
download | opensim-SC-387e59ff7f60f2b12526eaacd93581f76abe26e1.zip opensim-SC-387e59ff7f60f2b12526eaacd93581f76abe26e1.tar.gz opensim-SC-387e59ff7f60f2b12526eaacd93581f76abe26e1.tar.bz2 opensim-SC-387e59ff7f60f2b12526eaacd93581f76abe26e1.tar.xz |
Revamp the HTTP textures handler to allow a maximum of four fetches
at any time and to drop requests for avatars n longer in the scene
Diffstat (limited to 'OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs')
-rw-r--r-- | OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs b/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs index a1dee4e..db088e7 100644 --- a/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs +++ b/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs | |||
@@ -231,8 +231,7 @@ namespace OpenSim.Framework.Servers.HttpServer | |||
231 | { | 231 | { |
232 | if (m_running) | 232 | if (m_running) |
233 | { | 233 | { |
234 | if (req.PollServiceArgs.Type == PollServiceEventArgs.EventType.LslHttp || | 234 | if (req.PollServiceArgs.Type != PollServiceEventArgs.EventType.Normal) |
235 | req.PollServiceArgs.Type == PollServiceEventArgs.EventType.Inventory) | ||
236 | { | 235 | { |
237 | m_requests.Enqueue(req); | 236 | m_requests.Enqueue(req); |
238 | } | 237 | } |