diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.cs b/OpenSim/Region/ClientStack/ClientView.cs index 92d73e1..e693c64 100644 --- a/OpenSim/Region/ClientStack/ClientView.cs +++ b/OpenSim/Region/ClientStack/ClientView.cs | |||
@@ -210,7 +210,7 @@ namespace OpenSim.Region.ClientStack | |||
210 | { | 210 | { |
211 | if (packetsReceived == lastPacketsReceived) { | 211 | if (packetsReceived == lastPacketsReceived) { |
212 | probesWithNoIngressPackets++; | 212 | probesWithNoIngressPackets++; |
213 | if (probesWithNoIngressPackets > 120) { | 213 | if (probesWithNoIngressPackets > 30) { |
214 | this.KillClient(); | 214 | this.KillClient(); |
215 | } else { | 215 | } else { |
216 | // this will normally trigger at least one packet (ping response) | 216 | // this will normally trigger at least one packet (ping response) |
@@ -227,7 +227,7 @@ namespace OpenSim.Region.ClientStack | |||
227 | 227 | ||
228 | protected virtual void InitNewClient() | 228 | protected virtual void InitNewClient() |
229 | { | 229 | { |
230 | clientPingTimer = new Timer(1000); | 230 | clientPingTimer = new Timer(5000); |
231 | clientPingTimer.Elapsed += new ElapsedEventHandler(CheckClientConnectivity); | 231 | clientPingTimer.Elapsed += new ElapsedEventHandler(CheckClientConnectivity); |
232 | clientPingTimer.Enabled = true; | 232 | clientPingTimer.Enabled = true; |
233 | 233 | ||