File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed
internal-packages/run-engine/src/engine Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -307,7 +307,6 @@ export class RunEngine {
307
307
runAttemptSystem : this . runAttemptSystem ,
308
308
machines : this . options . machines ,
309
309
billingCache : this . billingCache ,
310
- redisOptions : this . options . cache ?. redis ?? this . options . runLock . redis ,
311
310
} ) ;
312
311
}
313
312
@@ -382,7 +381,7 @@ export class RunEngine {
382
381
const currentPlan = await this . billingCache . getCurrentPlan ( environment . organization . id ) ;
383
382
384
383
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
386
385
this . logger . warn (
387
386
"Failed to get billing info during trigger, proceeding without planType" ,
388
387
{
Original file line number Diff line number Diff line change 1
- import type { RedisOptions } from "@internal/redis" ;
2
1
import type { BillingCache } from "../billingCache.js" ;
3
2
import { startSpan } from "@internal/tracing" ;
4
3
import { assertExhaustive } from "@trigger.dev/core" ;
@@ -20,7 +19,6 @@ export type DequeueSystemOptions = {
20
19
executionSnapshotSystem : ExecutionSnapshotSystem ;
21
20
runAttemptSystem : RunAttemptSystem ;
22
21
billingCache : BillingCache ;
23
- redisOptions : RedisOptions ;
24
22
} ;
25
23
26
24
export class DequeueSystem {
You can’t perform that action at this time.
0 commit comments