Skip to content

Commit

Permalink
Fix: max value of PersistentVolumeSizeMib to 512 GB
Browse files Browse the repository at this point in the history
  • Loading branch information
1yam committed Oct 21, 2024
1 parent 8a62363 commit 567a40e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aleph_message/models/execution/volume.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class PersistentVolume(AbstractVolume):
persistence: Optional[VolumePersistence] = None
name: Optional[str] = None
size_mib: int = Field(
gt=0, le=gigabyte_to_mebibyte(Gigabytes(100)), strict=True # Limit to 100GiB
gt=0, le=gigabyte_to_mebibyte(Gigabytes(512)), strict=True # Limit to 512GiB
)

def is_read_only(self):
Expand Down

0 comments on commit 567a40e

Please sign in to comment.