diff --git a/aleph_message/models/execution/volume.py b/aleph_message/models/execution/volume.py index 6102fba..0c5713a 100644 --- a/aleph_message/models/execution/volume.py +++ b/aleph_message/models/execution/volume.py @@ -32,7 +32,7 @@ def is_read_only(self): class EphemeralVolumeSize(ConstrainedInt): gt = 0 - le = 1000 # Limit to 1 GiB + le = gigabyte_to_mebibyte(Gigabytes(10)) # Limit to 10 GB strict = True @@ -60,8 +60,8 @@ class VolumePersistence(str, Enum): class PersistentVolumeSizeMib(ConstrainedInt): gt = 0 - le = gigabyte_to_mebibyte(Gigabytes(100)) - strict = True # Limit to 100 GiB + le = gigabyte_to_mebibyte(Gigabytes(1_000)) + strict = True # Limit to 1 TB class PersistentVolume(AbstractVolume):