Skip to content

Commit 3988fc8

Browse files
authored
Feat: fix timeouts for now (#270)
1 parent f638387 commit 3988fc8

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/discord-cluster-manager/consts.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55

66
class Timeout(IntEnum):
7-
TEST = 60
8-
BENCHMARK = 120
7+
TEST = 180
8+
BENCHMARK = 180
99
RANKED = 180
1010
COMPILE = 120
1111
SCRIPT = 120

src/discord-cluster-manager/task.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ class LeaderboardTask:
5757
description: str = ""
5858
libraries: list[str] = dataclasses.field(default_factory=list)
5959
tests: list[TestCaseType] = dataclasses.field(default_factory=list)
60-
test_timeout: int = 30
60+
test_timeout: int = 180
6161
benchmarks: list[TestCaseType] = dataclasses.field(default_factory=list)
62-
benchmark_timeout: int = 60
63-
ranked_timeout: int = 90
62+
benchmark_timeout: int = 180
63+
ranked_timeout: int = 180
6464
ranking_by: RankCriterion = RankCriterion.LAST
6565
templates: dict[str, str] = dataclasses.field(default_factory=dict)
6666
seed: Optional[int] = None

0 commit comments

Comments
 (0)