Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit 2ca70f8

Browse files
committed
chore: increase timeout to connect to server
1 parent 9630d08 commit 2ca70f8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

engine/cli/commands/server_start_cmd.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace commands {
88

99
namespace {
1010
bool TryConnectToServer(const std::string& host, int port) {
11-
constexpr const auto kMaxRetry = 3u;
11+
constexpr const auto kMaxRetry = 4u;
1212
auto count = 0u;
1313
// Check if server is started
1414
while (true) {

engine/services/hardware_service.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ namespace services {
1616

1717
namespace {
1818
bool TryConnectToServer(const std::string& host, int port) {
19-
constexpr const auto kMaxRetry = 3u;
19+
constexpr const auto kMaxRetry = 4u;
2020
auto count = 0u;
2121
// Check if server is started
2222
while (true) {

0 commit comments

Comments
 (0)