From fd3444a3794a0cec7e4a4675b8840757de16f9b0 Mon Sep 17 00:00:00 2001 From: ghost Date: Mon, 31 Jul 2023 14:25:38 +0300 Subject: [PATCH] change timestamp sort order --- crontab/crawler.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crontab/crawler.php b/crontab/crawler.php index 29d75bc..70468e3 100644 --- a/crontab/crawler.php +++ b/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 if (true === $zip->addFromString('DATA', $content) && 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)))) { + sprintf('SOURCE: %s', Filter::url($queueHostPage->hostPageURL)) . PHP_EOL . + sprintf('TIMESTAMP: %s', time()))) { } }