diff options
author | Justin Clark-Casey (justincc) | 2012-07-04 00:15:03 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-07-04 00:15:03 +0100 |
commit | 5691a8b860b22939e2b608d6d8400b5260b25cf3 (patch) | |
tree | ec66c323341399514ab601d66f1fa211f9db195a /OpenSim/Framework/Watchdog.cs | |
parent | Correct spelling mistake m_BanedViewers to m_BannedViewers (diff) | |
download | opensim-SC-5691a8b860b22939e2b608d6d8400b5260b25cf3.zip opensim-SC-5691a8b860b22939e2b608d6d8400b5260b25cf3.tar.gz opensim-SC-5691a8b860b22939e2b608d6d8400b5260b25cf3.tar.bz2 opensim-SC-5691a8b860b22939e2b608d6d8400b5260b25cf3.tar.xz |
refactor: rename Watchdog.WATCHDOG_TIMEOUT_MS to DEFAULT_WATCHDOG_TIMEOUT_MS to reflect what it actually is
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Watchdog.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Framework/Watchdog.cs b/OpenSim/Framework/Watchdog.cs index 7552cd1..2b3a719 100644 --- a/OpenSim/Framework/Watchdog.cs +++ b/OpenSim/Framework/Watchdog.cs | |||
@@ -41,8 +41,8 @@ namespace OpenSim.Framework | |||
41 | /// <summary>Timer interval in milliseconds for the watchdog timer</summary> | 41 | /// <summary>Timer interval in milliseconds for the watchdog timer</summary> |
42 | const double WATCHDOG_INTERVAL_MS = 2500.0d; | 42 | const double WATCHDOG_INTERVAL_MS = 2500.0d; |
43 | 43 | ||
44 | /// <summary>Maximum timeout in milliseconds before a thread is considered dead</summary> | 44 | /// <summary>Default timeout in milliseconds before a thread is considered dead</summary> |
45 | public const int WATCHDOG_TIMEOUT_MS = 5000; | 45 | public const int DEFAULT_WATCHDOG_TIMEOUT_MS = 5000; |
46 | 46 | ||
47 | [System.Diagnostics.DebuggerDisplay("{Thread.Name}")] | 47 | [System.Diagnostics.DebuggerDisplay("{Thread.Name}")] |
48 | public class ThreadWatchdogInfo | 48 | public class ThreadWatchdogInfo |
@@ -122,7 +122,7 @@ namespace OpenSim.Framework | |||
122 | public static Thread StartThread( | 122 | public static Thread StartThread( |
123 | ThreadStart start, string name, ThreadPriority priority, bool isBackground, bool alarmIfTimeout) | 123 | ThreadStart start, string name, ThreadPriority priority, bool isBackground, bool alarmIfTimeout) |
124 | { | 124 | { |
125 | return StartThread(start, name, priority, isBackground, alarmIfTimeout, null, WATCHDOG_TIMEOUT_MS); | 125 | return StartThread(start, name, priority, isBackground, alarmIfTimeout, null, DEFAULT_WATCHDOG_TIMEOUT_MS); |
126 | } | 126 | } |
127 | 127 | ||
128 | /// <summary> | 128 | /// <summary> |