From 83b8daca8fe4d35020453b704666a75605915881 Mon Sep 17 00:00:00 2001 From: Stefano Belforte Date: Thu, 16 May 2024 18:32:00 +0200 Subject: [PATCH] add 1min delay in AdjustSites.py fix #8411 (#8415) --- scripts/AdjustSites.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/AdjustSites.py b/scripts/AdjustSites.py index bbb81fe300..12869e33bc 100644 --- a/scripts/AdjustSites.py +++ b/scripts/AdjustSites.py @@ -419,6 +419,7 @@ def main(): crabserver = CRABRest(host, cert, cert, retry=3, userAgent='CRABSchedd') crabserver.setDbInstance(dbInstance) + time.sleep(60) # give TW time to update taskDB #8411 checkTaskInfo(crabserver, ad) # is this the first time this script runs for this task ? (it runs at each resubmit as well !)