DESKTOP-9JTA2JJ\HP 5 år sedan
förälder
incheckning
8c812546c7
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      api/application/libraries/Mqtt.php

+ 1 - 1
api/application/libraries/Mqtt.php

@@ -31,7 +31,7 @@ class Mqtt {
 
     function connect_auto($clean = true, $will = NULL, $username = NULL, $password = NULL){
         while($this->connect($clean, $will, $username, $password)==false){
-            sleep(10);
+            sleep(1);
         }
         return true;
     }