feat: block running commands / proxying when system is being deleted

Large systems take way too long to delete, which causes any insert for that system to block a connection, which exhausts the connection pool
This commit is contained in:
spiral
2022-03-23 21:32:18 -04:00
parent 375e650c9e
commit be89f907a0
7 changed files with 31 additions and 3 deletions

View File

@@ -10,4 +10,6 @@ public record MessageRequest
public AllowedMentions? AllowedMentions { get; set; }
public Embed[]? Embeds { get; set; }
public MessageComponent[]? Components { get; set; }
public Message.Reference? MessageReference { get; set; }
}