Skip to content

perf(docker): poll healthcheck every 20s instead of 1s - #274

Merged
dfguerrerom merged 1 commit into
mainfrom
perf/healthcheck-interval
Jun 24, 2026
Merged

perf(docker): poll healthcheck every 20s instead of 1s#274
dfguerrerom merged 1 commit into
mainfrom
perf/healthcheck-interval

Conversation

@dfguerrerom

Copy link
Copy Markdown
Collaborator

The healthcheck ran nc every 1s, which is ~90% of the container's idle CPU (3-4% on a t3.small). Bump to 20s to match app-launcher; start_period/start_interval keep startup detection fast.

The 1s healthcheck spawns nc every second; on the container cgroup that is ~90% of the container's idle CPU (~3-4% on a t3.small vCPU). Match app-launcher's pattern: start_period + start_interval keep startup detection fast, 20s steady-state.
@dfguerrerom
dfguerrerom merged commit 61fc14c into main Jun 24, 2026
1 check passed
dfguerrerom added a commit to dfguerrerom/sepal-apps-catalog that referenced this pull request Jun 24, 2026
Adds the healthcheck interval fix (sepal-contrib/se.plan#274) on top of the current test pin (v2.1.5).
dfguerrerom added a commit to dfguerrerom/sepal-apps-catalog that referenced this pull request Jun 24, 2026
Adds the healthcheck interval fix (sepal-contrib/se.plan#274) on top of the current test pin (v2.1.5).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant