Browse Source

change timestamp sort order

main
ghost 1 year ago
parent
commit
fd3444a379
  1. 4
      crontab/crawler.php

4
crontab/crawler.php

@ -685,8 +685,8 @@ foreach ($db->getHostPageCrawlQueue(CRAWL_PAGE_LIMIT, time() - CRAWL_PAGE_SECOND
// Insert compressed snap data into the tmp storage // Insert compressed snap data into the tmp storage
if (true === $zip->addFromString('DATA', $content) && if (true === $zip->addFromString('DATA', $content) &&
true === $zip->addFromString('META', sprintf('MIME: %s', Filter::mime($contentType)) . PHP_EOL . true === $zip->addFromString('META', sprintf('MIME: %s', Filter::mime($contentType)) . PHP_EOL .
sprintf('TIMESTAMP: %s', time()) . PHP_EOL . sprintf('SOURCE: %s', Filter::url($queueHostPage->hostPageURL)) . PHP_EOL .
sprintf('SOURCE: %s', Filter::url($queueHostPage->hostPageURL)))) { sprintf('TIMESTAMP: %s', time()))) {
} }
} }

Loading…
Cancel
Save