feat: longer time limit for health check
Some checks failed
build / build (push) Failing after 3m15s
Some checks failed
build / build (push) Failing after 3m15s
This commit is contained in:
parent
56c4981340
commit
2c78d75e07
|
@ -2,7 +2,7 @@ import hashlib
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from typing import List
|
from typing import List
|
||||||
|
|
||||||
from joj3_config_generator.models import repo, result
|
from joj3_config_generator.models import common, repo, result
|
||||||
from joj3_config_generator.models.const import TEAPOT_CONFIG_ROOT, TEAPOT_LOG_PATH
|
from joj3_config_generator.models.const import TEAPOT_CONFIG_ROOT, TEAPOT_LOG_PATH
|
||||||
|
|
||||||
|
|
||||||
|
@ -71,7 +71,9 @@ def get_health_check_stage(repo_conf: repo.Config) -> result.StageDetail:
|
||||||
executor=result.Executor(
|
executor=result.Executor(
|
||||||
name="local",
|
name="local",
|
||||||
with_=result.ExecutorWith(
|
with_=result.ExecutorWith(
|
||||||
default=result.Cmd(),
|
default=result.Cmd(
|
||||||
|
cpu_limit=common.Time("10s"), clock_limit=common.Time("20s")
|
||||||
|
),
|
||||||
cases=[
|
cases=[
|
||||||
result.OptionalCmd(
|
result.OptionalCmd(
|
||||||
args=get_health_check_args(repo_conf),
|
args=get_health_check_args(repo_conf),
|
||||||
|
|
|
@ -32,8 +32,8 @@
|
||||||
"max": 33554432,
|
"max": 33554432,
|
||||||
"pipe": true
|
"pipe": true
|
||||||
},
|
},
|
||||||
"cpuLimit": 1000000000,
|
"cpuLimit": 10000000000,
|
||||||
"clockLimit": 2000000000,
|
"clockLimit": 20000000000,
|
||||||
"memoryLimit": 134217728,
|
"memoryLimit": 134217728,
|
||||||
"stackLimit": 0,
|
"stackLimit": 0,
|
||||||
"procLimit": 50,
|
"procLimit": 50,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user