mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-12 10:55:46 +02:00
chore: Pull helio with new future (#2944)
This commit is contained in:
parent
84aa237ba7
commit
1a5eacca87
18 changed files with 67 additions and 66 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue