mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-09 07:17:56 +00:00
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:
parent
375e650c9e
commit
be89f907a0
7 changed files with 31 additions and 3 deletions
5
PluralKit.Core/Database/Migrations/29.sql
Normal file
5
PluralKit.Core/Database/Migrations/29.sql
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
-- schema version 29
|
||||
|
||||
alter table systems add column is_deleting bool default false;
|
||||
|
||||
update info set schema_version = 29;
|
||||
Loading…
Add table
Add a link
Reference in a new issue