Skip to content

Commit 07fb8c1

Browse files
committed
background worker engine determines deployment type
1 parent bf33baf commit 07fb8c1

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

apps/webapp/app/v3/services/createDeployedBackgroundWorker.server.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ export class CreateDeployedBackgroundWorkerService extends BaseService {
101101
status: "DEPLOYED",
102102
workerId: backgroundWorker.id,
103103
deployedAt: new Date(),
104+
type: backgroundWorker.engine === "V2" ? "MANAGED" : "V1",
104105
},
105106
});
106107

apps/webapp/app/v3/services/createDeploymentBackgroundWorker.server.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ export class CreateDeploymentBackgroundWorkerService extends BaseService {
130130
status: "DEPLOYING",
131131
workerId: backgroundWorker.id,
132132
builtAt: new Date(),
133+
type: backgroundWorker.engine === "V2" ? "MANAGED" : "V1",
133134
},
134135
});
135136

0 commit comments

Comments
 (0)