Fix CA1802

This commit is contained in:
RoosterDragon
2023-03-12 15:46:31 +00:00
committed by abcdefg30
parent 0958197df2
commit a50e72f68d
8 changed files with 17 additions and 13 deletions

View File

@@ -30,9 +30,9 @@ namespace OpenRA.Mods.Common.Server
[TranslationReference("player", "timeout")]
const string TimeoutIn = "notification-timeout-dropped-in";
static readonly int PingInterval = 5000; // Ping every 5 seconds
static readonly int ConnReportInterval = 20000; // Report every 20 seconds
static readonly int ConnTimeout = 60000; // Drop unresponsive clients after 60 seconds
const int PingInterval = 5000; // Ping every 5 seconds
const int ConnReportInterval = 20000; // Report every 20 seconds
const int ConnTimeout = 60000; // Drop unresponsive clients after 60 seconds
long lastPing = 0;
long lastConnReport = 0;