use absl::SleepFor instead of usleep
This commit is contained in:
parent
39309bedba
commit
23ac13b285
|
@ -667,7 +667,7 @@ bool BoxTracker::WaitForChunkFile(int id, int checkpoint,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
usleep(wait_time_msec * 1000);
|
absl::SleepFor(absl::Milliseconds(wait_time_msec));
|
||||||
total_wait_msec += wait_time_msec;
|
total_wait_msec += wait_time_msec;
|
||||||
|
|
||||||
struct stat tmp;
|
struct stat tmp;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user