mirror of
https://github.com/opensim/opensim.git
synced 2026-05-20 07:05:46 +08:00
added a timeout paramenter to PollServiceEventArgs, so each type can define it's timeout
This commit is contained in:
@@ -361,7 +361,7 @@ namespace OpenSim.Region.ClientStack.Linden
|
||||
// This will persist this beyond the expiry of the caps handlers
|
||||
MainServer.Instance.AddPollServiceHTTPHandler(
|
||||
capsBase + EventQueueGetUUID.ToString() + "/",
|
||||
new PollServiceEventArgs(null, HasEvents, GetEvents, NoEvents, agentID));
|
||||
new PollServiceEventArgs(null, HasEvents, GetEvents, NoEvents, agentID,1000)); // 1 sec timeout
|
||||
|
||||
Random rnd = new Random(Environment.TickCount);
|
||||
lock (m_ids)
|
||||
|
||||
Reference in New Issue
Block a user