Skip to content

Commit 6d91fc5

Browse files
committed
Fixed a couple of type issues
1 parent 83c679d commit 6d91fc5

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

apps/coordinator/src/checkpointer.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,7 @@ export class Checkpointer {
277277
return result.checkpoint;
278278
} finally {
279279
if (opts.shouldHeartbeat) {
280+
// @ts-ignore - Some kind of node incompatible type issue
280281
clearInterval(interval);
281282
}
282283
removeCurrentAbortController();

internal-packages/run-engine/src/engine/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export type TriggerParams = {
6565
delayUntil?: Date;
6666
queuedAt?: Date;
6767
maxAttempts?: number;
68-
taskEventStore: string;
68+
taskEventStore?: string;
6969
priorityMs?: number;
7070
ttl?: string;
7171
tags: { id: string; name: string }[];

internal-packages/testcontainers/src/utils.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,10 @@ async function verifyRedisConnection(container: StartedRedisContainer) {
8787
},
8888
});
8989

90+
redis.on("error", (error) => {
91+
// swallow the error
92+
});
93+
9094
try {
9195
await redis.ping();
9296
} finally {

0 commit comments

Comments
 (0)