mirror of
https://github.com/Xahau/xahaud.git
synced 2026-09-27 15:38:01 +00:00
fix(ledger): count publication as progress while running
This commit is contained in:
@@ -2281,7 +2281,11 @@ LedgerMaster::doAdvance(std::unique_lock<std::recursive_mutex>& sl)
|
||||
}
|
||||
|
||||
app_.getOPs().clearNeedNetworkLedger();
|
||||
progress = newPFWork("pf:newLedger", sl);
|
||||
// Publishing is progress even without pathfinding clients. Keep
|
||||
// the shutdown guard so this loop cannot re-enter history work
|
||||
// after the Application starts stopping.
|
||||
newPFWork("pf:newLedger", sl);
|
||||
progress = !app_.isStopping();
|
||||
}
|
||||
if (progress)
|
||||
mAdvanceWork = true;
|
||||
|
||||
Reference in New Issue
Block a user