Skip to content

Commit

Permalink
More time between reconnects and to connect control.
Browse files Browse the repository at this point in the history
On Wifi control was slower than 2s to connect...
  • Loading branch information
davidmoreno committed Sep 25, 2024
1 parent cbd42c6 commit 0840fef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rtpclient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
using namespace std::chrono_literals;
using namespace rtpmidid;

static const auto CONNECT_TIMEOUT = 2s;
static const auto RECONNECT_TIMEOUT = 10s;
static const auto CONNECT_TIMEOUT = 10s;
static const auto RECONNECT_TIMEOUT = 30s;
static const auto CK_SHORT_PERIOD = 2s;
static const auto CK_LONG_PERIOD = 25s;

Expand Down

0 comments on commit 0840fef

Please sign in to comment.