Browse Source

remove debug

main
yggverse 8 months ago
parent
commit
231b7be50d
  1. 3
      src/cli/document/crawl.php

3
src/cli/document/crawl.php

@ -826,9 +826,6 @@ foreach($index->search('')
@mkdir($filepath, 0755, true); @mkdir($filepath, 0755, true);
// Check latest snap older than defined in settings // Check latest snap older than defined in settings
echo getLastSnapTime((array) scandir($filepath)) . PHP_EOL;
echo time() - getLastSnapTime((array) scandir($filepath)) . PHP_EOL;
echo $config->cli->document->crawl->snap->timeout . PHP_EOL;
if (time() - getLastSnapTime((array) scandir($filepath)) > $config->cli->document->crawl->snap->timeout) if (time() - getLastSnapTime((array) scandir($filepath)) > $config->cli->document->crawl->snap->timeout)
{ {
$filename = sprintf( $filename = sprintf(

Loading…
Cancel
Save