fix: remove LastConnection check in shardUpTotal

This commit is contained in:
spiral 2022-02-04 14:54:29 -05:00
parent fc8f1b7cd3
commit 8a9148cd32
No known key found for this signature in database
GPG Key ID: A6059F0CA0E1BD31

View File

@ -102,7 +102,7 @@ public class Misc
var shardTotal = shards.Count();
int shardClusterTotal = ctx.Cluster.Shards.Count;
var shardUpTotal = shards.Where(x => x.Up && now - x.LastConnection > 60).Count();
var shardUpTotal = shards.Where(x => x.Up).Count();
embed
.Field(new Embed.Field("Current shard",