Skip to content

Commit

Permalink
Lower cadence further
Browse files Browse the repository at this point in the history
  • Loading branch information
langmm committed Aug 31, 2023
1 parent 5768e25 commit de9623a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions communication/communicators/ClientComm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@ bool ClientComm::signon(const Header& header, Comm_t* async_comm) {
}
ygglog_debug << "ClientComm(" << name << ")::signon: begin" << std::endl;
Header tmp(true);
clock_t start = clock();
int tout = get_timeout_recv();
int nloop = 0;
clock_t start = clock();
while ((!requests.signon_complete) &&
(tout < 0 ||
(((double)(clock() - start))*1000000/CLOCKS_PER_SEC) < tout)) {
if ((nloop % 2) == 0) {
if ((nloop % 3) == 0) {
ygglog_debug << "ClientComm(" << name << ")::signon: Sending signon" << std::endl;
if (async_comm->send(YGG_CLIENT_SIGNON, YGG_CLIENT_SIGNON_LEN) < 0) {
ygglog_error << "ClientComm(" << name << ")::signon: Error in sending sign-on" << std::endl;
Expand Down

0 comments on commit de9623a

Please sign in to comment.