Skip to content

Commit

Permalink
No waiting too much if connect problem
Browse files Browse the repository at this point in the history
  • Loading branch information
Ysurac committed Aug 31, 2018
1 parent 027b928 commit 69e311f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions scripts/daemon-spotter.php
Original file line number Diff line number Diff line change
Expand Up @@ -2157,8 +2157,6 @@ function connect_all($hosts) {
//connect_all($hosts);
$aprs_connect = 0;
if ($reset%5 === 0) sleep(20);
if ($reset%10 === 0) sleep(100);
if ($reset%20 === 0) sleep(200);
if ($reset > 100) exit('Too many attempts...');
if ($globalDebug) echo "Restart all connections...";
connect_all($globalSources);
Expand Down

0 comments on commit 69e311f

Please sign in to comment.