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/Framework/Console/RemoteConsole.cs | |
parent | *test2* http poll: increased again the pool rate do 10/s but increased timeou... (diff) | |
download | opensim-SC-02cb0bf80a0b67eb0316ac74e1ea9741bfce1385.zip opensim-SC-02cb0bf80a0b67eb0316ac74e1ea9741bfce1385.tar.gz opensim-SC-02cb0bf80a0b67eb0316ac74e1ea9741bfce1385.tar.bz2 opensim-SC-02cb0bf80a0b67eb0316ac74e1ea9741bfce1385.tar.xz |
added a timeout paramenter to PollServiceEventArgs, so each type can define it's timeout
Diffstat (limited to 'OpenSim/Framework/Console/RemoteConsole.cs')
-rw-r--r-- | OpenSim/Framework/Console/RemoteConsole.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Console/RemoteConsole.cs b/OpenSim/Framework/Console/RemoteConsole.cs index eabb62d..e04ca1e 100644 --- a/OpenSim/Framework/Console/RemoteConsole.cs +++ b/OpenSim/Framework/Console/RemoteConsole.cs | |||
@@ -233,7 +233,7 @@ namespace OpenSim.Framework.Console | |||
233 | string uri = "/ReadResponses/" + sessionID.ToString() + "/"; | 233 | string uri = "/ReadResponses/" + sessionID.ToString() + "/"; |
234 | 234 | ||
235 | m_Server.AddPollServiceHTTPHandler( | 235 | m_Server.AddPollServiceHTTPHandler( |
236 | uri, new PollServiceEventArgs(null, HasEvents, GetEvents, NoEvents, sessionID)); | 236 | uri, new PollServiceEventArgs(null, HasEvents, GetEvents, NoEvents, sessionID,25000)); // 25 secs timeout |
237 | 237 | ||
238 | XmlDocument xmldoc = new XmlDocument(); | 238 | XmlDocument xmldoc = new XmlDocument(); |
239 | XmlNode xmlnode = xmldoc.CreateNode(XmlNodeType.XmlDeclaration, | 239 | XmlNode xmlnode = xmldoc.CreateNode(XmlNodeType.XmlDeclaration, |