Skip to content

Commit

Permalink
Update renku_notebooks/api/amalthea_patches/general.py
Browse files Browse the repository at this point in the history
Co-authored-by: Tasko Olevski <[email protected]>
  • Loading branch information
aledegano and olevski authored Sep 18, 2024
1 parent 73d7a0f commit 08bab41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion renku_notebooks/api/amalthea_patches/general.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def dev_shm(server: "UserServer"):
"emptyDir": {
"medium": "Memory",
# NOTE: We are giving /dev/shm up to half of the memory request
"sizeLimit": int(server.server_options.memory / 2),
"sizeLimit": int(server.server_options.memory / 2) if isinstance(server.server_options.memory, int) else "1Gi",
},
},
},
Expand Down

0 comments on commit 08bab41

Please sign in to comment.