diff --git a/src/gridcoin/gridcoin.cpp b/src/gridcoin/gridcoin.cpp index ac839721cf..10d3eb4711 100644 --- a/src/gridcoin/gridcoin.cpp +++ b/src/gridcoin/gridcoin.cpp @@ -547,7 +547,7 @@ void GRC::ScheduleBackgroundJobs(CScheduler& scheduler) LogInstance().archive(false, plogfile_out); }, std::chrono::seconds{300}); - scheduler.scheduleEvery(Researcher::RunRenewBeaconJob, std::chrono::hours{4}); + scheduler.scheduleEvery(Researcher::RunRenewBeaconJob, std::chrono::hours{1}); ScheduleBackups(scheduler); ScheduleUpdateChecks(scheduler); diff --git a/src/gridcoin/researcher.cpp b/src/gridcoin/researcher.cpp index ad36cf0f3b..a5f95da5a5 100644 --- a/src/gridcoin/researcher.cpp +++ b/src/gridcoin/researcher.cpp @@ -1114,6 +1114,8 @@ void Researcher::RunRenewBeaconJob() return; } + LogPrintf("INFO: %s: Running renew beacon job for %s", __func__, researcher->Id().ToString()); + TRY_LOCK(cs_main, locked_main); if (!locked_main) { @@ -1137,6 +1139,10 @@ void Researcher::RunRenewBeaconJob() } researcher->AdvertiseBeacon(); + } else { + LogPrint(BCLog::LogFlags::BEACON, + "INFO: %s: Skipping beacon renewal while within scraper beacon consensus window.", + __func__); } }