fix build error in Misc.cs
This commit is contained in:
parent
6d1fd0e267
commit
0afe031284
@ -71,10 +71,10 @@ public class Misc
|
|||||||
|
|
||||||
var counts = await _repo.GetStats();
|
var counts = await _repo.GetStats();
|
||||||
|
|
||||||
var shardId = ctx.Shard.ShardId;
|
var shardId = ctx.ShardId;
|
||||||
var shardTotal = ctx.Cluster.Shards.Count;
|
var shardTotal = ctx.Cluster.Shards.Count;
|
||||||
var shardUpTotal = _shards.Shards.Where(x => x.Connected).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 process = Process.GetCurrentProcess();
|
||||||
var memoryUsage = process.WorkingSet64;
|
var memoryUsage = process.WorkingSet64;
|
||||||
|
Loading…
Reference in New Issue
Block a user