@@ -32,6 +32,6 @@ class BoadcastDetectionJob implements ShouldQueue
*/
public function handle()
{
- ContractServer::creatServer()->broadcastDetection($this->blockItem);
+ ContractServer::creatServer()->broadcastDetection();
}
@@ -34,6 +34,9 @@ class ContractCommonJob implements ShouldQueue
- ContractServer::creatServer()->verifyContractCommon();
+ try {
+ ContractServer::creatServer()->verifyContractCommon();
+ } catch (\Exception $e) {
+ }
@@ -1,5 +1,5 @@
//队列 (编号监测)
-nohup php artisan queue:work redis --queue=broadcastDetection --sleep=3 --tries=3 --timeout=120 &
+nohup php artisan queue:work redis --queue=newLevel,contractCommon --sleep=3 --tries=3 --timeout=120 &