stanley-king il y a 2 ans
Parent
commit
d82d18987e
1 fichiers modifiés avec 6 ajouts et 0 suppressions
  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)
     {