Skip to content

Commit 2435f39

Browse files
committed
tidy up
1 parent 5d75706 commit 2435f39

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,6 @@ export class RunEngine {
307307
runAttemptSystem: this.runAttemptSystem,
308308
machines: this.options.machines,
309309
billingCache: this.billingCache,
310-
redisOptions: this.options.cache?.redis ?? this.options.runLock.redis,
311310
});
312311
}
313312

@@ -382,7 +381,7 @@ export class RunEngine {
382381
const currentPlan = await this.billingCache.getCurrentPlan(environment.organization.id);
383382

384383
if (currentPlan.err || !currentPlan.val) {
385-
// If billing lookup fails, don't block the trigger - planType will be null
384+
// If billing lookup fails, don't block the trigger - planType will be undefined
386385
this.logger.warn(
387386
"Failed to get billing info during trigger, proceeding without planType",
388387
{

internal-packages/run-engine/src/engine/systems/dequeueSystem.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import type { RedisOptions } from "@internal/redis";
21
import type { BillingCache } from "../billingCache.js";
32
import { startSpan } from "@internal/tracing";
43
import { assertExhaustive } from "@trigger.dev/core";
@@ -20,7 +19,6 @@ export type DequeueSystemOptions = {
2019
executionSnapshotSystem: ExecutionSnapshotSystem;
2120
runAttemptSystem: RunAttemptSystem;
2221
billingCache: BillingCache;
23-
redisOptions: RedisOptions;
2422
};
2523

2624
export class DequeueSystem {

0 commit comments

Comments
 (0)