From a5c58c2363cbd5a69f180f64a37c2c35fbfba907 Mon Sep 17 00:00:00 2001
From: Madpeter <57852827+Madpeterz@users.noreply.github.com>
Date: Wed, 3 Jul 2024 23:30:40 +0100
Subject: [PATCH] adjust network timeouts and ticks to be more accepting
---
LibreMetaverse/Settings.cs | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/LibreMetaverse/Settings.cs b/LibreMetaverse/Settings.cs
index 024c1cc..9962794 100644
--- a/LibreMetaverse/Settings.cs
+++ b/LibreMetaverse/Settings.cs
@@ -106,27 +106,27 @@ namespace OpenMetaverse
/// Number of milliseconds before a CAPS call will time out
/// Setting this too low will cause web requests time out and
/// possibly retry repeatedly
- public int CAPS_TIMEOUT = 60 * 1000;
+ public int CAPS_TIMEOUT = 63 * 1000;
/// Number of milliseconds for xml-rpc to timeout
- public int LOGIN_TIMEOUT = 60 * 1000;
+ public int LOGIN_TIMEOUT = 63 * 1000;
/// Milliseconds before a packet is assumed lost and resent
public int RESEND_TIMEOUT = 4000;
/// Milliseconds without receiving a packet before the
/// connection to a simulator is assumed lost
- public int SIMULATOR_TIMEOUT = 60 * 1000;
+ public int SIMULATOR_TIMEOUT = 75 * 1000;
/// Milliseconds to wait for a simulator info request through
/// the grid interface
public int MAP_REQUEST_TIMEOUT = 5 * 1000;
/// Number of milliseconds between sending pings to each sim
- public const int PING_INTERVAL = 2200;
+ public const int PING_INTERVAL = 3000;
/// Number of milliseconds between sending camera updates
- public const int DEFAULT_AGENT_UPDATE_INTERVAL = 500;
+ public const int DEFAULT_AGENT_UPDATE_INTERVAL = 1000;
/// Number of milliseconds between updating the current
/// positions of moving, non-accelerating and non-colliding objects
@@ -134,7 +134,7 @@ namespace OpenMetaverse
/// Millisecond interval between ticks, where all ACKs are
/// sent out and the age of unACKed packets is checked
- public const int NETWORK_TICK_INTERVAL = 500;
+ public const int NETWORK_TICK_INTERVAL = 650;
#endregion
#region Sizes