mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-03 16:56:48 +00:00
Merge branch 'ximinez/online-delete-gaps' into ximinez/online-delete-lastrotated
This commit is contained in:
@@ -1579,7 +1579,7 @@ LedgerMaster::missingFromCompleteLedgerRange(LedgerIndex first, LedgerIndex last
|
||||
{
|
||||
// Make a copy of the range to avoid holding the lock
|
||||
auto const range = [&] {
|
||||
std::lock_guard const sl(completeLock_);
|
||||
std::scoped_lock const sl(completeLock_);
|
||||
return completeLedgers_;
|
||||
}();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user