aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorOren Hurvitz2014-03-26 21:31:16 +0200
committerOren Hurvitz2014-03-26 20:34:55 +0100
commit7a47c15edbbebd93fc3355dfed68c2d5f635c897 (patch)
tree451e9121a86b6bcf9cf02855049f442d7bd5a866 /OpenSim/Framework
parentRevert "Use log-rolling on the log files (once per day)" (diff)
downloadopensim-SC_OLD-7a47c15edbbebd93fc3355dfed68c2d5f635c897.zip
opensim-SC_OLD-7a47c15edbbebd93fc3355dfed68c2d5f635c897.tar.gz
opensim-SC_OLD-7a47c15edbbebd93fc3355dfed68c2d5f635c897.tar.bz2
opensim-SC_OLD-7a47c15edbbebd93fc3355dfed68c2d5f635c897.tar.xz
- Increased the threadpool timeout to 10 minutes
- Changed a few places that launch long-lasting threads to skip the timeout altogether
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Util.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Util.cs b/OpenSim/Framework/Util.cs
index ce4af8b..c7a7341 100644
--- a/OpenSim/Framework/Util.cs
+++ b/OpenSim/Framework/Util.cs
@@ -2031,7 +2031,7 @@ namespace OpenSim.Framework
2031 // Maps (ThreadFunc number -> Thread) 2031 // Maps (ThreadFunc number -> Thread)
2032 private static ConcurrentDictionary<long, ThreadInfo> activeThreads = new ConcurrentDictionary<long, ThreadInfo>(); 2032 private static ConcurrentDictionary<long, ThreadInfo> activeThreads = new ConcurrentDictionary<long, ThreadInfo>();
2033 2033
2034 private static readonly int THREAD_TIMEOUT = 60 * 1000; 2034 private static readonly int THREAD_TIMEOUT = 10 * 60 * 1000; // 10 minutes
2035 2035
2036 /// <summary> 2036 /// <summary>
2037 /// Finds threads in the main thread pool that have timed-out, and aborts them. 2037 /// Finds threads in the main thread pool that have timed-out, and aborts them.