adjust nop interval again

This commit is contained in:
Elijah R 2024-01-04 14:46:15 -05:00
parent fe71945b6d
commit af7f7dc810

View file

@ -57,7 +57,7 @@ public class User
this.socket = socket;
this._ip = ip;
tokenSource = new CancellationTokenSource();
timeoutTimer = new Timer(10000);
timeoutTimer = new Timer(6000);
timeoutTimer.Elapsed += async (sender, args) => await TimeoutCallback();
timeoutTimer.AutoReset = false;
timeoutTimer.Start();
@ -97,7 +97,7 @@ public class User
}
this.timeOut = false;
this.timeoutTimer.Stop();
this.timeoutTimer.Interval = 10000;
this.timeoutTimer.Interval = 6000;
this.timeoutTimer.Start();
switch (msgArr[0])
{