chore: Pull helio with new future (#2944)

This commit is contained in:
Vladislav 2024-04-22 20:18:10 +03:00 committed by GitHub
parent 84aa237ba7
commit 1a5eacca87
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 67 additions and 66 deletions

View file

@ -304,8 +304,9 @@ unsigned BaseFamilyTest::NumLocked() {
}
void BaseFamilyTest::ClearMetrics() {
shard_set->pool()->Await(
[](auto*) { ServerState::tlocal()->stats = ServerState::Stats(shard_set->size()); });
shard_set->pool()->AwaitBrief([](unsigned, auto*) {
ServerState::tlocal()->stats = ServerState::Stats(shard_set->size());
});
}
void BaseFamilyTest::WaitUntilLocked(DbIndex db_index, string_view key, double timeout) {