src/api2/admin/datastore/backup/upload_chunk.rs: fix maximal chunk size
This commit is contained in:
parent
78b5191550
commit
2c41096a4b
|
@ -61,7 +61,7 @@ pub fn api_method_upload_chunk() -> ApiAsyncMethod {
|
|||
ObjectSchema::new("Upload chunk.")
|
||||
.required("size", IntegerSchema::new("Chunk size.")
|
||||
.minimum(1)
|
||||
.maximum(1024*16)
|
||||
.maximum(1024*1024*16)
|
||||
)
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue