Skip to content

Commit

Permalink
Remove testing changes
Browse files Browse the repository at this point in the history
  • Loading branch information
darunrs committed Mar 21, 2024
1 parent ee4aeec commit 0bda419
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion runner/src/stream-handler/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ async function blockQueueConsumer (workerContext: WorkerContext, streamKey: stri

const postRunSpan = tracer.startSpan('Delete redis message and shift queue', {}, context.active());
parentPort?.postMessage({ type: WorkerMessageType.STATUS, data: { status: Status.RUNNING } });
// await workerContext.redisClient.deleteStreamMessage(streamKey, streamMessageId);
await workerContext.redisClient.deleteStreamMessage(streamKey, streamMessageId);
await workerContext.queue.shift();

METRICS.EXECUTION_DURATION.labels({ indexer: indexerName, type: workerContext.streamType }).observe(performance.now() - startTime);
Expand Down
4 changes: 2 additions & 2 deletions runner/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */
"noImplicitThis": true, /* Enable error reporting when 'this' is given the type 'any'. */
"alwaysStrict": true, /* Ensure 'use strict' is always emitted. */
"noUnusedLocals": false, /* Enable error reporting when local variables aren't read. */
"noUnusedParameters": false, /* Raise an error when a function parameter isn't read. */
"noUnusedLocals": true, /* Enable error reporting when local variables aren't read. */
"noUnusedParameters": true, /* Raise an error when a function parameter isn't read. */
"skipLibCheck": true /* Skip type checking all .d.ts files. */
},
"include": ["src"],
Expand Down

0 comments on commit 0bda419

Please sign in to comment.