diff --git a/controller/PostgreSQL.cpp b/controller/PostgreSQL.cpp index db703ad46..b0fba46aa 100644 --- a/controller/PostgreSQL.cpp +++ b/controller/PostgreSQL.cpp @@ -1678,6 +1678,7 @@ void PostgreSQL::onlineNotification_Redis() std::string controllerId = std::string(_myAddress.toString(buf)); while (_run == 1) { + fprintf(stderr, "onlineNotification tick\n"); auto start = std::chrono::high_resolution_clock::now(); std::unordered_map< std::pair,std::pair,_PairHasher > lastOnline; @@ -1703,7 +1704,7 @@ void PostgreSQL::onlineNotification_Redis() auto dur = std::chrono::duration_cast(end - start); auto total = dur.count(); - fprintf(stderr, "onlineNotification ran in %llu ms", total); + fprintf(stderr, "onlineNotification ran in %llu ms\n", total); std::this_thread::sleep_for(std::chrono::seconds(1)); }