projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
std::chrono'ize EventBase::setMaxLatency
[folly.git]
/
folly
/
io
/
async
/
test
/
EventBaseTest.cpp
diff --git
a/folly/io/async/test/EventBaseTest.cpp
b/folly/io/async/test/EventBaseTest.cpp
index b952640feea43e0b8b72c0038267c58858768a63..454ece3c55dd7d697a79c8d9d8c48a829bec854a 100644
(file)
--- a/
folly/io/async/test/EventBaseTest.cpp
+++ b/
folly/io/async/test/EventBaseTest.cpp
@@
-1578,7
+1578,7
@@
TEST(EventBaseTest, IdleTime) {
bool hostOverloaded = false;
int latencyCallbacks = 0;
- eventBase.setMaxLatency(6000, [&]() {
+ eventBase.setMaxLatency(6000
us
, [&]() {
++latencyCallbacks;
if (latencyCallbacks != 1) {
FAIL() << "Unexpected latency callback";