Skip to content

Commit bedb3b2

Browse files
mambellivitodb
authored andcommitted
Extended token duration to 30 days per HEPCloud Ops request to support HPC requests
1 parent 6a848b3 commit bedb3b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/decisionengine_modules/glideinwms/glide_frontend_element.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1302,7 +1302,7 @@ def refresh_entry_token(self, glidein_site, work_dir="/var/lib/gwms-frontend"):
13021302
if tkn_age > one_hr and os.path.exists(pwd_file):
13031303
# TODO: scope, duration, identity should be configurable
13041304
scope = "condor:/READ condor:/ADVERTISE_STARTD condor:/ADVERTISE_MASTER"
1305-
duration = 24 * one_hr
1305+
duration = 30 * 24 * one_hr # Increased to 30 days per HEPCloud Ops request
13061306
identity = f"{glidein_site}@{socket.gethostname()}"
13071307
self.logger.debug("creating token %s" % tkn_file)
13081308
self.logger.debug("pwd_flie= %s" % pwd_file)

0 commit comments

Comments
 (0)