We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b9d7fa commit 335ff84Copy full SHA for 335ff84
services/web/server/src/simcore_service_webserver/projects/projects_api.py
@@ -385,7 +385,7 @@ async def _get_default_pricing_and_hardware_info(
385
_MACHINE_TOTAL_RAM_SAFE_MARGIN_RATIO: Final[
386
float
387
] = 0.1 # NOTE: machines always have less available RAM than advertised
388
-_SIDECARS_OPS_SAFE_RAM_MARGIN: Final[ByteSize] = ByteSize("1GiB")
+_SIDECARS_OPS_SAFE_RAM_MARGIN: Final[ByteSize] = TypeAdapter(ByteSize).validate_python("1GiB")
389
_CPUS_SAFE_MARGIN: Final[float] = 1.4
390
_MIN_NUM_CPUS: Final[float] = 0.5
391
0 commit comments