fix: remove LastConnection check in shardUpTotal
This commit is contained in:
parent
fc8f1b7cd3
commit
8a9148cd32
@ -102,7 +102,7 @@ public class Misc
|
|||||||
|
|
||||||
var shardTotal = shards.Count();
|
var shardTotal = shards.Count();
|
||||||
int shardClusterTotal = ctx.Cluster.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
|
embed
|
||||||
.Field(new Embed.Field("Current shard",
|
.Field(new Embed.Field("Current shard",
|
||||||
|
Loading…
Reference in New Issue
Block a user