Skip to content

Commit

Permalink
fix: k8s resource constraint generation
Browse files Browse the repository at this point in the history
  • Loading branch information
igobranco committed Jan 10, 2025
1 parent 47ff08f commit d3c8a24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tutorprint_course_certificates/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@
),
(
"PRINT_COURSE_CERTIFICATES_CPU_REQUEST",
"{{ PRINT_COURSE_CERTIFICATES_UWSGI_WORKERS / 2 * 1000 | int }}ms",
"{{ ( PRINT_COURSE_CERTIFICATES_UWSGI_WORKERS / 2 * 1000) | round | int }}ms",
),
(
"PRINT_COURSE_CERTIFICATES_CPU_LIMIT",
"{{ PRINT_COURSE_CERTIFICATES_UWSGI_WORKERS * 1000 | int }}ms",
"{{ ( PRINT_COURSE_CERTIFICATES_UWSGI_WORKERS * 1000 ) | round | int }}ms",
),
# Kubernetes HPA autoscaling settings
("PRINT_COURSE_CERTIFICATES_POD_AUTOSCALING", True),
Expand Down

0 comments on commit d3c8a24

Please sign in to comment.