stanley-king 2 vuotta sitten
vanhempi
commit
d82d18987e
1 muutettua tiedostoa jossa 6 lisäystä ja 0 poistoa
  1. 6 0
      helper/refill/util.php

+ 6 - 0
helper/refill/util.php

@@ -376,6 +376,12 @@ class util
         return $ins->lLen('QUEUE_DISPATCHER_CO');
     }
 
+    public static function monitor_queue_length()
+    {
+        $ins = Cache::getInstance('cacheredis');
+        return $ins->lLen('REFILL_MONITOR_QUEUE');
+    }
+
     //统计提交订单数据
     public static function incr_commit_pre($chname, $card_type, $spec, $quality)
     {