feat: don't interrupt execution due to quota

This commit is contained in:
Ali BARIN
2023-03-09 15:13:50 +00:00
parent 8b81391e2f
commit ae3512fecf
4 changed files with 20 additions and 12 deletions

View File

@@ -1,4 +1,3 @@
import appConfig from '../config/app';
import Step from '../models/step';
import Flow from '../models/flow';
import Execution from '../models/execution';
@@ -23,10 +22,6 @@ export const processAction = async (options: ProcessActionOptions) => {
.findById(executionId)
.throwIfNotFound();
if (!execution.testRun) {
await flow.throwIfQuotaExceeded();
}
const step = await Step.query().findById(stepId).throwIfNotFound();
const $ = await globalVariable({