From 60d291efa3d94d8c1719f043f9e704d3cf993d6d Mon Sep 17 00:00:00 2001 From: Christophe Haen Date: Fri, 17 Nov 2023 10:09:04 +0100 Subject: [PATCH] feat (FTS3): change the default proxy lifetime to 36h --- src/DIRAC/DataManagementSystem/Agent/FTS3Agent.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/DIRAC/DataManagementSystem/Agent/FTS3Agent.py b/src/DIRAC/DataManagementSystem/Agent/FTS3Agent.py index 3b59495578b..4151a3fffb8 100644 --- a/src/DIRAC/DataManagementSystem/Agent/FTS3Agent.py +++ b/src/DIRAC/DataManagementSystem/Agent/FTS3Agent.py @@ -48,7 +48,10 @@ AGENT_NAME = "DataManagement/FTS3Agent" # Lifetime in seconds of the proxy we download for submission -PROXY_LIFETIME = 43200 # 12 hours +# Because we force the redelegation if only a third is left, +# and we want to have a quiet night (~12h) +# let's make the lifetime 12*3 hours +PROXY_LIFETIME = 36 * 3600 # 36 hours # Instead of querying many jobs at once, # which maximizes the possibility of race condition