mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-28 08:02:43 +00:00
improve job cancelling with new flow jobs locks
This commit is contained in:
@@ -6,7 +6,6 @@ import { charsToNumber, numberToChars } from './idUtils'
|
||||
// Computes the next available id
|
||||
export function nextId(flowState: FlowState, fullFlow: OpenFlow): string {
|
||||
const allIds = dfs(fullFlow.value.modules, (fm) => fm.id)
|
||||
console.log('allIds', allIds)
|
||||
|
||||
const max = allIds.concat(Object.keys(flowState)).reduce((acc, key) => {
|
||||
if (key.length >= 4) {
|
||||
|
||||
Reference in New Issue
Block a user