diff --git a/src/cli/document/crawl.php b/src/cli/document/crawl.php index 7a562b5..13f3596 100644 --- a/src/cli/document/crawl.php +++ b/src/cli/document/crawl.php @@ -298,6 +298,10 @@ foreach($index->search('') // Update size or skip on empty if ($size = curl_getinfo($request, CURLINFO_SIZE_DOWNLOAD)) { + $size = round( // float + $size + ); + $data['size'] = $size; } else continue;