Skip to content

Commit e1f16a8

Browse files
committed
Change sleep duration (100 ms -> 10 ms)
1 parent aba6feb commit e1f16a8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: include/pqrs/cf/run_loop_thread.hpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ class run_loop_thread final {
8282
}
8383
}
8484

85-
std::this_thread::sleep_for(std::chrono::milliseconds(100));
85+
// The period of time should be as short as possible, as the thread sleeps at least once here.
86+
std::this_thread::sleep_for(std::chrono::milliseconds(10));
8687
}
8788
}
8889

0 commit comments

Comments
 (0)