fix(shelving_clean): less time por shelving removal
gitea/salix/pipeline/pr-master This commit looks good Details

This commit is contained in:
Pablo Natek 2024-09-18 11:37:47 +02:00
parent 91ee956fbd
commit 6c4b1cd522
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ UPDATE shelving sh
AND (
sh.parked IS NULL
OR
sh.parked < TIMESTAMPADD(MONTH,-1,util.VN_CURDATE())
sh.parked < TIMESTAMPADD(WEEK,-2,util.VN_CURDATE())
)
AND IF(code REGEXP '^[A-Za-z]{2}[0-9]', LEFT (code, 2) NOT IN (
SELECT DISTINCT LEFT(its.shelvingFk, 2)