From cade53577ce3b73b0903643f45232ae0c54428b5 Mon Sep 17 00:00:00 2001 From: plegall Date: Fri, 7 Feb 2020 15:10:05 +0100 Subject: [PATCH] missing piece of code for #1098 to make the number of checksum configurable --- ws.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ws.php b/ws.php index 0b7113478..ef4c9a1ea 100644 --- a/ws.php +++ b/ws.php @@ -502,7 +502,7 @@ function ws_addDefaultMethods( $arr ) 'pwg.images.setMd5sum', 'ws_images_setMd5sum', array( - 'block_size' => array('default'=>1000, 'type'=>WS_TYPE_INT|WS_TYPE_POSITIVE), + 'block_size' => array('default'=>$conf['checksum_compute_blocksize'], 'type'=>WS_TYPE_INT|WS_TYPE_POSITIVE), 'pwg_token' => array(), ), 'Set md5sum column, by blocks. Returns how many md5sums were added and how many are remaining.',