mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
perf(core): Introduce concurrency control for main mode (#9453)
This commit is contained in:
@@ -53,7 +53,7 @@ export class ExecutionsController {
|
||||
const noRange = !query.range.lastId || !query.range.firstId;
|
||||
|
||||
if (noStatus && noRange) {
|
||||
return await this.executionService.findAllRunningAndLatest(query);
|
||||
return await this.executionService.findLatestCurrentAndCompleted(query);
|
||||
}
|
||||
|
||||
return await this.executionService.findRangeWithCount(query);
|
||||
|
||||
Reference in New Issue
Block a user