stanley-king il y a 3 ans
Parent
commit
df30e414ed
2 fichiers modifiés avec 3 ajouts et 2 suppressions
  1. 1 1
      helper/refill/policy/chctl.php
  2. 2 1
      helper/refill/policy/ctl_item.php

+ 1 - 1
helper/refill/policy/chctl.php

@@ -337,7 +337,7 @@ class chctl
                 $state = 'profit';
             }
 
-            Log::record("auto_match channel {$name} state={$state} comit_succ={$commit_succ} count={$comit_count} notify_count={$notify_count} notify_succ={$notify_succ} ", Log::DEBUG);
+            Log::record("auto_match channel {$name} state={$state} comit_succ={$commit_succ} count={$comit_count} notify_count={$notify_count} notify_succ={$notify_succ} speed={$speed}", Log::DEBUG);
         }
 
         return [$feeds,$profits];

+ 2 - 1
helper/refill/policy/ctl_item.php

@@ -109,7 +109,8 @@ class ctl_item
 
     public function lazy_speed()
     {
-        return $this->mLazySpeed;
+//        return $this->mLazySpeed;
+        return $this->cur_speed();
     }
 
     public function name()