Skip to content

Commit

Permalink
revert change
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderegg committed Jan 17, 2025
1 parent b61731d commit 5c3bf1c
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -381,9 +381,9 @@ async def _get_default_pricing_and_hardware_info(
)


_MACHINE_TOTAL_RAM_SAFE_MARGIN_RATIO: Final[
float
] = 0.1 # NOTE: machines always have less available RAM than advertised
_MACHINE_TOTAL_RAM_SAFE_MARGIN_RATIO: Final[float] = (
0.1 # NOTE: machines always have less available RAM than advertised
)
_SIDECARS_OPS_SAFE_RAM_MARGIN: Final[ByteSize] = TypeAdapter(ByteSize).validate_python(
"1GiB"
)
Expand Down Expand Up @@ -1276,7 +1276,7 @@ async def try_open_project_for_user(
owner=Owner(
user_id=user_id, **await get_user_fullname(app, user_id=user_id)
),
notification_cb=create_user_notification_cb(user_id, project_uuid, app),
notification_cb=None,
)
async def _open_project() -> bool:
with managed_resource(user_id, client_session_id, app) as user_session:
Expand Down

0 comments on commit 5c3bf1c

Please sign in to comment.