diff --git a/service/app/server/Douyin.php b/service/app/server/Douyin.php index 1b64e7cf..1623e40d 100644 --- a/service/app/server/Douyin.php +++ b/service/app/server/Douyin.php @@ -249,11 +249,11 @@ class Douyin public function _getRetriesLock(): bool { $pattern = 'php webman spider:dy'; - $maxProcesses = 8; + $maxProcesses = 4; $this->_killMiddleProcesses($pattern, $maxProcesses); - $maxRetries = 10; + $maxRetries = 5; $retries = 0; while ($retries < $maxRetries) { $back = Redis::set('SpiderMt:CertificateList:lock', time(), 'EX', 1, 'NX');