mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
revert the inProduction check
This commit is contained in:
parent
912c94e541
commit
37d6ca5cf4
|
@ -27,7 +27,6 @@ import { isWorkflowIdValid } from '@/utils';
|
|||
|
||||
import { ConcurrencyControlService } from './concurrency/concurrency-control.service';
|
||||
import config from './config';
|
||||
import { inProduction } from './constants';
|
||||
|
||||
@Service()
|
||||
export class ActiveExecutions {
|
||||
|
@ -221,7 +220,7 @@ export class ActiveExecutions {
|
|||
|
||||
private getExecution(executionId: string): IExecutingWorkflowData {
|
||||
const execution = this.activeExecutions[executionId];
|
||||
if (!execution && !inProduction) {
|
||||
if (!execution) {
|
||||
throw new ApplicationError('No active execution found', { extra: { executionId } });
|
||||
}
|
||||
return execution;
|
||||
|
|
Loading…
Reference in a new issue