This commit is contained in:
Scott E. Graves 2024-12-16 10:31:10 -06:00
parent 35e6993629
commit 7f044442bc

View File

@ -186,7 +186,7 @@ auto packet_client::send(std::string_view method, packet &request,
request.encode_top(PACKET_SERVICE_FLAGS);
request.encode_top(std::string{project_get_version()});
static contexpr const std::uint8_t max_attempts{5U};
static constexpr const std::uint8_t max_attempts{5U};
for (std::uint8_t i = 1U;
allow_connections_ && not success && (i <= max_attempts); i++) {
auto current_client = get_client();