Skip to content

Commit 730dcb1

Browse files
committed
revert change
1 parent 787c638 commit 730dcb1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

services/web/server/src/simcore_service_webserver/projects/projects_api.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -381,9 +381,9 @@ async def _get_default_pricing_and_hardware_info(
381381
)
382382

383383

384-
_MACHINE_TOTAL_RAM_SAFE_MARGIN_RATIO: Final[
385-
float
386-
] = 0.1 # NOTE: machines always have less available RAM than advertised
384+
_MACHINE_TOTAL_RAM_SAFE_MARGIN_RATIO: Final[float] = (
385+
0.1 # NOTE: machines always have less available RAM than advertised
386+
)
387387
_SIDECARS_OPS_SAFE_RAM_MARGIN: Final[ByteSize] = TypeAdapter(ByteSize).validate_python(
388388
"1GiB"
389389
)
@@ -1276,7 +1276,7 @@ async def try_open_project_for_user(
12761276
owner=Owner(
12771277
user_id=user_id, **await get_user_fullname(app, user_id=user_id)
12781278
),
1279-
notification_cb=create_user_notification_cb(user_id, project_uuid, app),
1279+
notification_cb=None,
12801280
)
12811281
async def _open_project() -> bool:
12821282
with managed_resource(user_id, client_session_id, app) as user_session:

0 commit comments

Comments
 (0)