Skip to content

Commit

Permalink
Fix: max value of RootfsVolume need to have same constraint as persis…
Browse files Browse the repository at this point in the history
…tent volumes
  • Loading branch information
1yam committed Oct 29, 2024
1 parent 567a40e commit 030feec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aleph_message/models/execution/instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class RootfsVolume(HashableModel):
persistence: VolumePersistence
# Use the same size constraint as persistent volumes for now
size_mib: int = Field(
gt=-1, le=gigabyte_to_mebibyte(Gigabytes(100)), strict=True # Limit to 1GiB
gt=-1, le=gigabyte_to_mebibyte(Gigabytes(512)), strict=True # Limit to 1GiB
)
forgotten_by: Optional[List[str]] = None

Expand Down

0 comments on commit 030feec

Please sign in to comment.