mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-20 16:49:52 +00:00
Limit IA updates
This commit is contained in:
parent
0b1194eefd
commit
754c80e1c3
1 changed files with 1 additions and 0 deletions
|
|
@ -211,6 +211,7 @@ export async function syncToArchive(handler: DiscordEventHandler) {
|
|||
const unarchived = await knex("skins")
|
||||
.leftJoin("ia_items", "ia_items.skin_md5", "=", "skins.md5")
|
||||
.where({ "ia_items.id": null, skin_type: 1 })
|
||||
.limit(100)
|
||||
.select("skins.md5");
|
||||
|
||||
handler.handle({ type: "STARTED_SYNC_TO_ARCHIVE", count: unarchived.length });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue