File tree 1 file changed +2
-2
lines changed
internal-packages/run-engine/src/engine/db
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ export async function getRunWithBackgroundWorkerTasks(
100
100
} else {
101
101
workerWithTasks = workerId
102
102
? await getWorkerDeploymentFromWorker ( prisma , workerId )
103
- : await getWorkerFromCurrentlyPromotedDeployment ( prisma , run . runtimeEnvironmentId ) ;
103
+ : await getManagedWorkerFromCurrentlyPromotedDeployment ( prisma , run . runtimeEnvironmentId ) ;
104
104
}
105
105
106
106
if ( ! workerWithTasks ) {
@@ -260,7 +260,7 @@ export async function getWorkerById(
260
260
return { worker, tasks : worker . tasks , queues : worker . queues , deployment : worker . deployment } ;
261
261
}
262
262
263
- export async function getWorkerFromCurrentlyPromotedDeployment (
263
+ export async function getManagedWorkerFromCurrentlyPromotedDeployment (
264
264
prisma : PrismaClientOrTransaction ,
265
265
environmentId : string
266
266
) : Promise < WorkerDeploymentWithWorkerTasks | null > {
You can’t perform that action at this time.
0 commit comments