Skip to content

Commit 30b67c1

Browse files
committed
fix: increase default timeout for challenge comparison requests to 240 seconds
1 parent 95a909a commit 30b67c1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/redteam_core/challenge_pool/controller.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ def _validate_miner_submission(self, miner_commit: MinerChallengeCommit) -> bool
387387
}
388388
response = requests.post(
389389
_validator_endpoint,
390-
timeout=self.challenge_info.get("challenge_compare_timeout", 150),
390+
timeout=self.challenge_info.get("challenge_compare_timeout", 240),
391391
verify=False,
392392
json=payload,
393393
headers=headers,
@@ -688,7 +688,7 @@ def _compare_with_baseline(self, miner_commit: MinerChallengeCommit):
688688
_internal_service_url = str(constants.INTERNAL_SERVICES.API_URL).rstrip("/")
689689
response = requests.post(
690690
f"{_internal_service_url}/compare/baseline-scripts",
691-
timeout=self.challenge_info.get("challenge_compare_timeout", 150),
691+
timeout=self.challenge_info.get("challenge_compare_timeout", 240),
692692
verify=False,
693693
json=payload,
694694
headers=headers,

0 commit comments

Comments
 (0)