chore: session auto-commit
This commit is contained in:
@@ -33,6 +33,7 @@ export async function initStickerCache(): Promise<void> {
|
|||||||
);
|
);
|
||||||
const row = await executeGet(
|
const row = await executeGet(
|
||||||
"SELECT count(*) as cnt, COALESCE(SUM(size), 0) as total FROM sticker_cache",
|
"SELECT count(*) as cnt, COALESCE(SUM(size), 0) as total FROM sticker_cache",
|
||||||
|
[],
|
||||||
);
|
);
|
||||||
if (row) {
|
if (row) {
|
||||||
statsCache = {
|
statsCache = {
|
||||||
|
|||||||
Reference in New Issue
Block a user