fix intermintent hang on remote server disconnect
Some checks are pending
Blockstorage/repertory/pipeline/head Build queued...
Some checks are pending
Blockstorage/repertory/pipeline/head Build queued...
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
namespace {
|
||||
namespace net = boost::asio;
|
||||
|
||||
constexpr std::uint8_t max_attempts{3U};
|
||||
constexpr std::uint8_t max_attempts{5U};
|
||||
|
||||
struct non_blocking_guard final {
|
||||
net::ip::tcp::socket &sock;
|
||||
|
Reference in New Issue
Block a user