mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-28 17:40:25 +00:00
More AI review feedback:
- Move a log message into the same block as the thing it's logging. - Change default recovery time from 1s to 2s. This may need some more tuning. - Rename the online_delete test config helper function to onlineDelete. - Copy some class values while under lock, even though they can't change, as defense in depth. - Use RAII scope unlock in healthWait().
This commit is contained in:
@@ -47,8 +47,7 @@ class SHAMapStore_test : public beast::unit_test::Suite
|
||||
static auto
|
||||
onlineDelete(std::unique_ptr<Config> cfg)
|
||||
{
|
||||
using namespace jtx;
|
||||
return online_delete(std::move(cfg), kDeleteInterval);
|
||||
return jtx::onlineDelete(std::move(cfg), kDeleteInterval);
|
||||
}
|
||||
|
||||
static auto
|
||||
|
||||
Reference in New Issue
Block a user