Commit Graph
2 Commits
Author SHA1 Message Date
kevinveenbirkenbachandClaude Opus 4.8 25c4797937 style(utils/sizes): wrap over-long raise line (ruff format)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-26 05:45:29 +02:00
kevinveenbirkenbachandClaude Opus 4.8 5ff862bef8 refactor(node-sizing): convert filter to lookup and extract shared to_bytes util
Replace 'lookup(applications) | node_max_old_space_size(app, service)' with the 'lookup(node_max_old_space_size, app, service)' lookup form (it resolves the app config itself), dropping the boilerplate at all 4 call sites (nextcloud whiteboard, peertube x2, suitecrm). Extract the shared decimal to_bytes size parser into utils/sizes.py, used by the lookup and the peertube install_mem_limit filter (removing the cross-plugin import).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-26 05:45:29 +02:00