diff --git a/app/Services/Article/CacheTg.php b/app/Services/Article/CacheTg.php index 8ab59841..e40db2bc 100644 --- a/app/Services/Article/CacheTg.php +++ b/app/Services/Article/CacheTg.php @@ -40,7 +40,7 @@ final class CacheTg return $oResult->fail("更新cacheTime失败"); } - return $oResult->done(); + return $oResult->done($sGroupCode."写入一条缓存"); } public function saveToSchema(): Flow diff --git a/app/Services/Cron.php b/app/Services/Cron.php index 47896006..33cede51 100644 --- a/app/Services/Cron.php +++ b/app/Services/Cron.php @@ -26,7 +26,7 @@ final class Cron $s = (int) ($this->iTestS ?? $s); } - if ($i % 5 === 0) { + if ($i % 3 === 0) { CronArticleSchema::cacheTgSave(); CronArticleSchema::pushToSlave(); CronHttpQueue::pop();