fixed .shardstats and shard will now auto-restart after crashing or getting disconnected for more than 15 seconds

This commit is contained in:
Master Kwoth
2017-10-23 19:46:59 +02:00
parent d596eb1895
commit fb6d89368e
8 changed files with 189 additions and 25 deletions

@ -115,7 +115,7 @@ namespace NadekoBot
var msg = JsonConvert.SerializeObject(data);
await sub.PublishAsync(Credentials.RedisKey() + "_shardcoord_send", msg).ConfigureAwait(false);
await Task.Delay(5000);
await Task.Delay(7500);
}
});
}