diff options
author | UbitUmarov | 2012-07-04 17:40:02 +0100 |
---|---|---|
committer | UbitUmarov | 2012-07-04 17:40:02 +0100 |
commit | 02cb0bf80a0b67eb0316ac74e1ea9741bfce1385 (patch) | |
tree | c89d663463e6d6322ed8dc30f38192c9855302f1 /OpenSim/Region/ClientStack/Linden | |
parent | *test2* http poll: increased again the pool rate do 10/s but increased timeou... (diff) | |
download | opensim-SC_OLD-02cb0bf80a0b67eb0316ac74e1ea9741bfce1385.zip opensim-SC_OLD-02cb0bf80a0b67eb0316ac74e1ea9741bfce1385.tar.gz opensim-SC_OLD-02cb0bf80a0b67eb0316ac74e1ea9741bfce1385.tar.bz2 opensim-SC_OLD-02cb0bf80a0b67eb0316ac74e1ea9741bfce1385.tar.xz |
added a timeout paramenter to PollServiceEventArgs, so each type can define it's timeout
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs index a91b02c..016ed97 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs | |||
@@ -361,7 +361,7 @@ namespace OpenSim.Region.ClientStack.Linden | |||
361 | // This will persist this beyond the expiry of the caps handlers | 361 | // This will persist this beyond the expiry of the caps handlers |
362 | MainServer.Instance.AddPollServiceHTTPHandler( | 362 | MainServer.Instance.AddPollServiceHTTPHandler( |
363 | capsBase + EventQueueGetUUID.ToString() + "/", | 363 | capsBase + EventQueueGetUUID.ToString() + "/", |
364 | new PollServiceEventArgs(null, HasEvents, GetEvents, NoEvents, agentID)); | 364 | new PollServiceEventArgs(null, HasEvents, GetEvents, NoEvents, agentID,1000)); // 1 sec timeout |
365 | 365 | ||
366 | Random rnd = new Random(Environment.TickCount); | 366 | Random rnd = new Random(Environment.TickCount); |
367 | lock (m_ids) | 367 | lock (m_ids) |