Skip to content

Commit

Permalink
[Core] Fixed TimeSpan
Browse files Browse the repository at this point in the history
  • Loading branch information
Linwenxuan04 committed Jun 20, 2024
1 parent 8df1bda commit 09b80f4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ internal class WtExchangeLogic : LogicBase
internal WtExchangeLogic(ContextCollection collection) : base(collection)
{
_transEmpTask = new TaskCompletionSource<bool>();
_reLoginTimer = new Timer(async _ => await ReLogin(), null, TimeSpan.MaxValue, TimeSpan.FromDays(15));
_reLoginTimer = new Timer(async _ => await ReLogin(), null, Timeout.Infinite, Timeout.Infinite);
}

public override async Task Incoming(ProtocolEvent e)
Expand Down

0 comments on commit 09b80f4

Please sign in to comment.