From 4cac235f092911af177fcfb208fe221aa1b4e7d2 Mon Sep 17 00:00:00 2001 From: Marco Mambelli Date: Wed, 7 Jan 2026 15:14:54 -0600 Subject: [PATCH] Extended token duration to 30 days per HEPCloud Ops request to support HPC requests --- src/decisionengine_modules/glideinwms/glide_frontend_element.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/decisionengine_modules/glideinwms/glide_frontend_element.py b/src/decisionengine_modules/glideinwms/glide_frontend_element.py index 82fef1a9..de09a06b 100644 --- a/src/decisionengine_modules/glideinwms/glide_frontend_element.py +++ b/src/decisionengine_modules/glideinwms/glide_frontend_element.py @@ -1302,7 +1302,7 @@ def refresh_entry_token(self, glidein_site, work_dir="/var/lib/gwms-frontend"): if tkn_age > one_hr and os.path.exists(pwd_file): # TODO: scope, duration, identity should be configurable scope = "condor:/READ condor:/ADVERTISE_STARTD condor:/ADVERTISE_MASTER" - duration = 24 * one_hr + duration = 30 * 24 * one_hr # Increased to 30 days per HEPCloud Ops request identity = f"{glidein_site}@{socket.gethostname()}" self.logger.debug("creating token %s" % tkn_file) self.logger.debug("pwd_flie= %s" % pwd_file)