Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limits the ressources available for the container #203

Merged
merged 5 commits into from
May 29, 2024

Conversation

RonanMorgan
Copy link
Collaborator

In order to avoid too much pressure on rpi memory (and eventually a crash) this PR is fixing hard limits on containers' resources.

These limits are calculated thanks to a batch script which is launched when using the "make run" command

The limits: keyword is available only in the V3 of docker-compose

Copy link

codecov bot commented May 29, 2024

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 87.60%. Comparing base (c18de6b) to head (147f99d).

Files Patch % Lines
pyroengine/core.py 0.00% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #203      +/-   ##
===========================================
- Coverage    87.84%   87.60%   -0.25%     
===========================================
  Files            6        6              
  Lines          362      363       +1     
===========================================
  Hits           318      318              
- Misses          44       45       +1     
Flag Coverage Δ
unittests 87.60% <0.00%> (-0.25%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@RonanMorgan RonanMorgan self-assigned this May 29, 2024
@RonanMorgan RonanMorgan mentioned this pull request May 29, 2024
@RonanMorgan RonanMorgan merged commit cb54382 into develop May 29, 2024
12 of 14 checks passed
@RonanMorgan RonanMorgan deleted the container-limits branch May 29, 2024 10:30
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.

2 participants