mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-12 22:17:22 +01:00
add retry policy for grpc clients
This commit is contained in:
parent
77e4602d2f
commit
2f1ef04f6a
3 changed files with 42 additions and 0 deletions
|
|
@ -484,6 +484,7 @@ public class DiscordBot : IHostedService
|
|||
vanityUpdateCts = new();
|
||||
while (!vanityUpdateCts.IsCancellationRequested)
|
||||
{
|
||||
logger.LogInformation($"Cleaning up Vanity UIDs");
|
||||
var guild = discordClient.Guilds.FirstOrDefault();
|
||||
if (guild == null)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue