src/api2/admin/datastore/backup/upload_chunk.rs: fix maximal chunk size

This commit is contained in:
Dietmar Maurer 2019-05-09 13:29:50 +02:00
parent 78b5191550
commit 2c41096a4b
1 changed files with 1 additions and 1 deletions

View File

@ -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)
)
)
}