From 02c8d73426b4756948437e4ed92b17f6cece9caf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20S=C3=B6ntgen?= Date: Thu, 31 Aug 2023 16:03:14 +0200 Subject: [PATCH] timer-session: decrease min timeout to 1 ms Depending on the client and use-case the current minimal timeout value of 5 ms could be too high, lowering it to 1 ms stays within the limit imposed by most timer drivers. Issue #4990. --- repos/base/include/timer_session/connection.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repos/base/include/timer_session/connection.h b/repos/base/include/timer_session/connection.h index c077ce0e99..b90632216c 100644 --- a/repos/base/include/timer_session/connection.h +++ b/repos/base/include/timer_session/connection.h @@ -199,7 +199,7 @@ class Timer::Connection : public Genode::Connection, ** Members for interaction with Timeout framework ** ****************************************************/ - enum { MIN_TIMEOUT_US = 5000 }; + enum { MIN_TIMEOUT_US = 1000 }; enum { REAL_TIME_UPDATE_PERIOD_US = 500000 }; enum { MAX_INTERPOLATION_QUALITY = 3 }; enum { MAX_REMOTE_TIME_LATENCY_US = 500 };