Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

fix(concurrency-limit): logging

Gergő Móricz8bcc5b498674
diff --git a/apps/api/src/lib/concurrency-limit.ts b/apps/api/src/lib/concurrency-limit.ts
index bdd7c08ba..1417c123f 100644
--- a/apps/api/src/lib/concurrency-limit.ts
+++ b/apps/api/src/lib/concurrency-limit.ts
@@ -357,7 +357,11 @@ export async function concurrentJobDone(job: NuQJob<any>) {
)) !== null;
if (promotedSuccessfully) {
- logger.debug("Successfully promoted concurrent queued job", {});
+ logger.debug("Successfully promoted concurrent queued job", {
+ teamId: job.data.team_id,
+ jobId: nextJob.job.id,
+ zeroDataRetention: nextJob.job.data?.zeroDataRetention,
+ });
break;
} else {
logger.warn(
@@ -365,6 +369,7 @@ export async function concurrentJobDone(job: NuQJob<any>) {
{
teamId: job.data.team_id,
jobId: nextJob.job.id,
+ zeroDataRetention: nextJob.job.data?.zeroDataRetention,
},
);
}