stanley-king 2 년 전
부모
커밋
d82d18987e
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  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)
     {