mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
- Increased the threadpool timeout to 10 minutes
- Changed a few places that launch long-lasting threads to skip the timeout altogether
This commit is contained in:
@@ -2031,7 +2031,7 @@ namespace OpenSim.Framework
|
||||
// Maps (ThreadFunc number -> Thread)
|
||||
private static ConcurrentDictionary<long, ThreadInfo> activeThreads = new ConcurrentDictionary<long, ThreadInfo>();
|
||||
|
||||
private static readonly int THREAD_TIMEOUT = 60 * 1000;
|
||||
private static readonly int THREAD_TIMEOUT = 10 * 60 * 1000; // 10 minutes
|
||||
|
||||
/// <summary>
|
||||
/// Finds threads in the main thread pool that have timed-out, and aborts them.
|
||||
|
||||
Reference in New Issue
Block a user