Skip to content

[FIX] runbot: restore cpu_limit#1404

Open
Xavier-Do wants to merge 1 commit into
19.0from
19.0-ref-cpu_limit-xdo
Open

[FIX] runbot: restore cpu_limit#1404
Xavier-Do wants to merge 1 commit into
19.0from
19.0-ref-cpu_limit-xdo

Conversation

@Xavier-Do
Copy link
Copy Markdown
Contributor

Since dynamic config were introduced, a Falsy value was given as cpu limit bypassing the step limit and max limit in run_odoo_odoo

This is fixed by setting the step limit fist in run_odoo_odoo

The limit is also set on the docker but improprely used to kill the build manually. To avoid having to compute it twice the same way, the limit is now stored on the build and the same value is used to gc the build. We still have a fallback on the step limit, so both values needs to be Falsy in order to disable the limit, and provide a default waiting for the build.cpu_limit to be set on all builds.

Since dynamic config were introduced, a Falsy value was given as cpu
limit bypassing the step limit and max limit in run_odoo_odoo

This is fixed by setting the step limit fist in run_odoo_odoo

The limit is also set on the docker but improprely used to kill the
build manually. To avoid having to compute it twice the same way, the
limit is now stored on the build and the same value is used to gc the
build. We still have a fallback on the step limit, so both values needs
to be Falsy in order to disable the limit, and provide a default
waiting for the build.cpu_limit to be set on all builds.
@C3POdoo C3POdoo requested a review from a team May 8, 2026 10:17
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