gogs 1 päivä sitten
vanhempi
sitoutus
d72f61c8d6
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      app/Jobs/ManDeviceJobHc.php

+ 1 - 1
app/Jobs/ManDeviceJobHc.php

@@ -39,7 +39,7 @@ class ManDeviceJobHc implements ShouldQueue
 
             if ($this->data['type'] == "dataPoint") {
                 $redisKey = 'buffer:hengchang_data';
-                $batchSize = 5;
+                $batchSize = 500;
 
                 // 1. 整理数据并推入 Redis 列表
                 $records = [];