mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
feat(bot): remove hacky fix for extremely slow system deletes
they are no longer extremely slow
This commit is contained in:
parent
ba9c074dc2
commit
7cb3a3ea0f
4 changed files with 0 additions and 17 deletions
|
|
@ -144,7 +144,6 @@ public partial class ModelRepository
|
|||
|
||||
public async Task DeleteSystem(SystemId id)
|
||||
{
|
||||
await _db.Execute(c => c.QueryAsync("update systems set is_deleting = true where id = @id", new { id = id }));
|
||||
var query = new Query("systems").AsDelete().Where("id", id);
|
||||
await _db.ExecuteQuery(query);
|
||||
_logger.Information("Deleted {SystemId}", id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue