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:
Ed Hennis
2026-06-15 21:28:23 -04:00
parent f5b4ac358f
commit fad34e852d
7 changed files with 15 additions and 20 deletions

View File

@@ -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