mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-12 02:45:45 +02:00
chore: Update helio dependency (#553)
Switch to using fibers_ext::Fiber. Signed-off-by: Roman Gershman <roman@dragonflydb.io>
This commit is contained in:
parent
c34270c02d
commit
23c902d8e9
16 changed files with 74 additions and 79 deletions
|
@ -166,7 +166,7 @@ void BaseFamilyTest::WaitUntilLocked(DbIndex db_index, string_view key, double t
|
|||
auto timeout_micro = chrono::duration_cast<chrono::microseconds>(1000ms * timeout);
|
||||
int64_t steps = timeout_micro.count() / step.count();
|
||||
do {
|
||||
::boost::this_fiber::sleep_for(step);
|
||||
fibers_ext::SleepFor(step);
|
||||
} while (!IsLocked(db_index, key) && --steps > 0);
|
||||
CHECK(IsLocked(db_index, key));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue