Merge pull request 'done' (!2435) from hotFix-collection_assign into master
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #2435
Reviewed-by: Carlos Andrés <carlosap@verdnatura.es>
This commit is contained in:
Pako Natek 2024-05-09 17:06:25 +00:00
commit 6b10f81add
1 changed files with 4 additions and 1 deletions

View File

@ -30,7 +30,10 @@ BEGIN
-- Si hay colecciones sin terminar, sale del proceso
CALL collection_get(vUserFk);
SELECT (pc.maxNotReadyCollections - COUNT(*)) <= 0 INTO vHasTooMuchCollections
SELECT (pc.maxNotReadyCollections - COUNT(*)) <= 0,
collection_assign_lockname
INTO vHasTooMuchCollections,
vLockName
FROM productionConfig pc
LEFT JOIN tCollection ON TRUE;