Skip to content

Commit

Permalink
cosmetics
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamilcuk committed Jul 15, 2024
1 parent 609496c commit 77b5f04
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/nomad_tools/entry_githubrunner.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@ class LimitConfig(DataDict):
max: int = -1
"""Maximum number of running runners"""


class Config(DataDict):
"""Configuration"""

Expand Down Expand Up @@ -189,7 +188,7 @@ class Config(DataDict):
You can use for example ".*self-hosted.*" for all-catch.
"""

runner_inactivity_timeout: str = "5m"
runner_inactivity_timeout: str = "1h"
"""How much time a runner will be inactive for it to be removed?"""

limits: List[LimitConfig] = []
Expand All @@ -199,9 +198,9 @@ class Config(DataDict):
"job": "",
"group": "",
"task": "",
"ephemeral": "false",
"ephemeral": False,
}
"""Additoinal template variable passed as 'add' global variable."""
"""Additional template variable passed as 'add' global variable."""

def __post_init__(self):
assert self.loop >= 0
Expand Down

0 comments on commit 77b5f04

Please sign in to comment.