Implement EventQueueService abstracted from product syncs along with its database changes

This commit is contained in:
Dominic Ferrando
2026-07-11 23:17:20 -04:00
parent 5265492442
commit 29a7a05a08
3 changed files with 197 additions and 12 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ import { PrintfulClient, ProductSyncer, WebflowClient, type ProductSyncerOptions
import { env, log } from "../util";
import { db } from "../database/db";
import type { Selectable, Transaction } from "kysely";
import type { DB, ProductSyncs } from "../database/out/db";
import type { DB } from "../database/out/db";
import { sleep } from "bun";
type EventStatus = "queued" | "active" | "failed" | "fulfilled";