mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
feat: re-enable message count stats updater
This commit is contained in:
parent
97d8863481
commit
58a9206d5c
1 changed files with 2 additions and 2 deletions
|
|
@ -14,8 +14,8 @@ public partial class ModelRepository
|
||||||
conn.ExecuteAsync("update info set group_count = (select count(*) from groups)"));
|
conn.ExecuteAsync("update info set group_count = (select count(*) from groups)"));
|
||||||
await _db.Execute(conn =>
|
await _db.Execute(conn =>
|
||||||
conn.ExecuteAsync("update info set switch_count = (select count(*) from switches)"));
|
conn.ExecuteAsync("update info set switch_count = (select count(*) from switches)"));
|
||||||
// await _db.Execute(conn =>
|
await _db.Execute(conn =>
|
||||||
// conn.ExecuteAsync("update info set message_count = (select count(*) from messages)"));
|
conn.ExecuteAsync("update info set message_count = (select count(*) from messages)"));
|
||||||
}
|
}
|
||||||
|
|
||||||
public Task<Counts> GetStats()
|
public Task<Counts> GetStats()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue