Commits

Alvaro Videla  committed 86bce37

fixes $now value

  • Participants
  • Parent commits f074965

Comments (0)

Files changed (1)

File latency_pub.php

 }
 
 function process_message($msg) {
-    echo $now - microtime_float($msg->body), "\n";
+    echo microtime(true) - microtime_float($msg->body), "\n";
   
     $msg->delivery_info['channel']->
         basic_ack($msg->delivery_info['delivery_tag']);