calibrate

This commit is contained in:
2026-10-06 17:58:35 +03:00
parent 86222f5f93
commit 476cfe0b17
21 changed files with 1666 additions and 14 deletions
+2
View File
@@ -137,4 +137,6 @@ def _body_limit(path: str, config: Config) -> int | None:
return config.verify_max_body_bytes
if path == "/api/v1/features":
return config.max_image_bytes + _FEATURES_BODY_SLACK_BYTES
if path == "/api/v1/calibrate":
return config.calibration_max_body_bytes
return None