Skip to content

Commit 79fe484

Browse files
authored
Merge pull request #6827 from DIRACGridBot/cherry-pick-2-39c1d9582-rel-v8r0
[sweep:v8r0] Fix AREX ARCRESTTimeout
2 parents f23622d + 3a26ee7 commit 79fe484

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DIRAC/Resources/Computing/AREXComputingElement.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def _reset(self):
7272
self.proxyTimeLeftBeforeRenewal = self.ceParameters.get(
7373
"ProxyTimeLeftBeforeRenewal", self.proxyTimeLeftBeforeRenewal
7474
)
75-
self.arcRESTTimeout = self.ceParameters.get("ARCRESTTimeout", self.arcRESTTimeout)
75+
self.arcRESTTimeout = float(self.ceParameters.get("ARCRESTTimeout", self.arcRESTTimeout))
7676

7777
# Build the URL based on the CEName, the port and the REST version
7878
service_url = os.path.join("https://", f"{self.ceName}:{self.port}")

0 commit comments

Comments
 (0)