diff options
Diffstat (limited to 'OpenSim/Grid/GridServer/Main.cs')
-rw-r--r-- | OpenSim/Grid/GridServer/Main.cs | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/OpenSim/Grid/GridServer/Main.cs b/OpenSim/Grid/GridServer/Main.cs index 490f757..20c4905 100644 --- a/OpenSim/Grid/GridServer/Main.cs +++ b/OpenSim/Grid/GridServer/Main.cs | |||
@@ -27,20 +27,14 @@ | |||
27 | */ | 27 | */ |
28 | 28 | ||
29 | using System; | 29 | using System; |
30 | using System.IO; | ||
31 | using System.Text; | ||
32 | using System.Timers; | ||
33 | using System.Net; | ||
34 | using System.Threading; | ||
35 | using System.Reflection; | 30 | using System.Reflection; |
36 | using libsecondlife; | 31 | using System.Threading; |
37 | using OpenSim.Framework.Manager; | 32 | using System.Timers; |
38 | using OpenSim.Framework; | ||
39 | using OpenSim.Framework.Sims; | ||
40 | using OpenSim.Framework.Console; | 33 | using OpenSim.Framework.Console; |
41 | using OpenSim.Framework.Interfaces; | 34 | using OpenSim.Framework.Interfaces; |
42 | using OpenSim.Framework.Servers; | 35 | using OpenSim.Framework.Servers; |
43 | using OpenSim.GenericConfig; | 36 | using OpenSim.GenericConfig; |
37 | using Timer=System.Timers.Timer; | ||
44 | 38 | ||
45 | namespace OpenSim.Grid.GridServer | 39 | namespace OpenSim.Grid.GridServer |
46 | { | 40 | { |
@@ -156,7 +150,7 @@ namespace OpenSim.Grid.GridServer | |||
156 | 150 | ||
157 | m_console.Verbose( "Main.cs:Startup() - Starting sim status checker"); | 151 | m_console.Verbose( "Main.cs:Startup() - Starting sim status checker"); |
158 | 152 | ||
159 | System.Timers.Timer simCheckTimer = new System.Timers.Timer(3600000 * 3); // 3 Hours between updates. | 153 | Timer simCheckTimer = new Timer(3600000 * 3); // 3 Hours between updates. |
160 | simCheckTimer.Elapsed += new ElapsedEventHandler(CheckSims); | 154 | simCheckTimer.Elapsed += new ElapsedEventHandler(CheckSims); |
161 | simCheckTimer.Enabled = true; | 155 | simCheckTimer.Enabled = true; |
162 | } | 156 | } |