diff options
author | UbitUmarov | 2014-08-09 15:08:21 +0100 |
---|---|---|
committer | UbitUmarov | 2014-08-09 15:08:21 +0100 |
commit | 74efe1e393e748d5f9ace32044c705533be64d6a (patch) | |
tree | a8676781aea48975043c87e47de3225267583713 /OpenSim/Capabilities | |
parent | Comment out stupid XEngine-bound message about script vs non-script startup, ... (diff) | |
download | opensim-SC-74efe1e393e748d5f9ace32044c705533be64d6a.zip opensim-SC-74efe1e393e748d5f9ace32044c705533be64d6a.tar.gz opensim-SC-74efe1e393e748d5f9ace32044c705533be64d6a.tar.bz2 opensim-SC-74efe1e393e748d5f9ace32044c705533be64d6a.tar.xz |
explicitly force a reset to the event on creation
#Please enter the commit message for your changes. Lines starting
Diffstat (limited to 'OpenSim/Capabilities')
-rw-r--r-- | OpenSim/Capabilities/Caps.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Capabilities/Caps.cs b/OpenSim/Capabilities/Caps.cs index 30a323e..b35e6b4 100644 --- a/OpenSim/Capabilities/Caps.cs +++ b/OpenSim/Capabilities/Caps.cs | |||
@@ -139,6 +139,7 @@ namespace OpenSim.Framework.Capabilities | |||
139 | m_agentID = agent; | 139 | m_agentID = agent; |
140 | m_capsHandlers = new CapsHandlers(httpServer, httpListen, httpPort, (httpServer == null) ? false : httpServer.UseSSL); | 140 | m_capsHandlers = new CapsHandlers(httpServer, httpListen, httpPort, (httpServer == null) ? false : httpServer.UseSSL); |
141 | m_regionName = regionName; | 141 | m_regionName = regionName; |
142 | m_capsActive.Reset(); | ||
142 | } | 143 | } |
143 | 144 | ||
144 | /// <summary> | 145 | /// <summary> |
@@ -263,7 +264,7 @@ namespace OpenSim.Framework.Capabilities | |||
263 | public bool WaitForActivation() | 264 | public bool WaitForActivation() |
264 | { | 265 | { |
265 | // Wait for 30s. If that elapses, return false and run without caps | 266 | // Wait for 30s. If that elapses, return false and run without caps |
266 | return m_capsActive.WaitOne(30000); | 267 | return m_capsActive.WaitOne(120000); |
267 | } | 268 | } |
268 | } | 269 | } |
269 | } \ No newline at end of file | 270 | } \ No newline at end of file |