fix build error in Misc.cs

This commit is contained in:
spiral 2022-01-14 21:51:43 -05:00
parent 6d1fd0e267
commit 0afe031284
No known key found for this signature in database
GPG Key ID: A6059F0CA0E1BD31

View File

@ -71,10 +71,10 @@ public class Misc
var counts = await _repo.GetStats();
var shardId = ctx.Shard.ShardId;
var shardId = ctx.ShardId;
var shardTotal = ctx.Cluster.Shards.Count;
var shardUpTotal = _shards.Shards.Where(x => x.Connected).Count();
var shardInfo = _shards.GetShardInfo(ctx.Shard);
var shardInfo = _shards.GetShardInfo(ctx.ShardId);
var process = Process.GetCurrentProcess();
var memoryUsage = process.WorkingSet64;