File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
apps/webapp/app/v3/services Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import { logger } from "~/services/logger.server";
2
2
import { BaseService } from "./baseService.server" ;
3
3
import { WorkerDeployment } from "@trigger.dev/database" ;
4
4
import { CURRENT_DEPLOYMENT_LABEL } from "~/consts" ;
5
+ import { ExecuteTasksWaitingForDeployService } from "./executeTasksWaitingForDeploy" ;
5
6
6
7
export class RollbackDeploymentService extends BaseService {
7
8
public async call ( deployment : WorkerDeployment ) {
@@ -39,6 +40,10 @@ export class RollbackDeploymentService extends BaseService {
39
40
} ,
40
41
} ) ;
41
42
43
+ if ( deployment . workerId ) {
44
+ await ExecuteTasksWaitingForDeployService . enqueue ( deployment . workerId , this . _prisma ) ;
45
+ }
46
+
42
47
return {
43
48
id : deployment . id ,
44
49
} ;
You can’t perform that action at this time.
0 commit comments