Skip to content

Commit

Permalink
Reconnect if connection is zombied
Browse files Browse the repository at this point in the history
  • Loading branch information
Erisa committed Jul 11, 2024
1 parent e43fdb4 commit 2918d3b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public async ValueTask HeartbeatedAsync(IGatewayClient client)

public async ValueTask ZombiedAsync(IGatewayClient client)
{
await client.ReconnectAsync();
await Task.CompletedTask;
}
}
Expand Down

0 comments on commit 2918d3b

Please sign in to comment.