Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥
TypeScript aiai-agentsai-crawlerai-scrapingai-searchcrawlerdata-extractionhtml-to-markdownllmmarkdownscraperscrapingweb-crawlerweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
fix(api): getBackloggedJobIDsOfOwner method name (#2939)
tomsideguidea8e59344642c
diff --git a/apps/api/src/lib/concurrency-queue-reconciler.ts b/apps/api/src/lib/concurrency-queue-reconciler.tsindex 8c3975116..b22bf4e1e 100644--- a/apps/api/src/lib/concurrency-queue-reconciler.ts+++ b/apps/api/src/lib/concurrency-queue-reconciler.ts@@ -80,7 +80,7 @@ async function reconcileTeam(teamLogger: Logger,): Promise<{ jobsStarted: number; jobsRequeued: number } | null> {const backloggedJobIDs = new Set(- await scrapeQueue.getBackloggedJobIDsOfOnwer(ownerId, teamLogger),+ await scrapeQueue.getBackloggedJobIDsOfOwner(ownerId, teamLogger),);if (backloggedJobIDs.size === 0) {return null;diff --git a/apps/api/src/services/worker/nuq.ts b/apps/api/src/services/worker/nuq.tsindex 060fd7568..934689096 100644--- a/apps/api/src/services/worker/nuq.ts+++ b/apps/api/src/services/worker/nuq.ts@@ -657,7 +657,7 @@ class NuQ<JobData = any, JobReturnValue = any> {}}- public async getBackloggedJobIDsOfOnwer(+ public async getBackloggedJobIDsOfOwner(ownerId: string,_logger: Logger = logger,): Promise<string[]> {@@ -670,9 +670,9 @@ class NuQ<JobData = any, JobReturnValue = any> {)).rows.map(row => row.id);} finally {- _logger.info("nuqGetBackloggedJobIDsOfOnwer metrics", {+ _logger.info("nuqGetBackloggedJobIDsOfOwner metrics", {module: "nuq/metrics",- method: "nuqGetBackloggedJobIDsOfOnwer",+ method: "nuqGetBackloggedJobIDsOfOwner",duration: Date.now() - start,ownerId,});