mirror of
https://github.com/sochix/TLSharp.git
synced 2025-12-06 08:02:00 +01:00
Disconsider ping delay for purpose of next ping message.
This commit is contained in:
parent
b71a72343c
commit
f30dc2da43
|
|
@ -120,8 +120,8 @@ namespace TLSharp.Core
|
|||
public async Task MainLoopAsync(int timeslicems)
|
||||
{
|
||||
logger.Trace("Entered loop");
|
||||
await SendPingAsync();
|
||||
var lastPing = DateTime.UtcNow;
|
||||
await SendPingAsync();
|
||||
for (;;)
|
||||
{
|
||||
try
|
||||
|
|
|
|||
Loading…
Reference in a new issue