Skip to content

Commit

Permalink
logging
Browse files Browse the repository at this point in the history
  • Loading branch information
aditiharini committed Dec 11, 2024
1 parent 09be229 commit b3c5a17
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions packages/shuttle/src/example-app/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export function getWorker(app: App, redis: Redis | Cluster, log: pino.Logger, co
const worker = new Worker(
QUEUE_NAME,
async (job: Job) => {
log.info({ job }, "Starting job");
if (job.name === "reconcile") {
const start = Date.now();
const fids = job.data.fids as number[];
Expand Down
1 change: 0 additions & 1 deletion packages/shuttle/src/shuttle/messageReconciliation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ export class MessageReconciliation {
for await (const messages of fn.call(this, fid, MAX_PAGE_SIZE, startTimestamp, stopTimestamp)) {
yield messages as Message[];
}
this.log.info({ type, fid }, "[reconciliation] Done all hub messages of type");
}

private async doCallWithFailover(
Expand Down

0 comments on commit b3c5a17

Please sign in to comment.