aboutsummaryrefslogtreecommitdiffstats
path: root/ctrl/facemgr/src
diff options
context:
space:
mode:
Diffstat (limited to 'ctrl/facemgr/src')
-rw-r--r--ctrl/facemgr/src/loop_libevent.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ctrl/facemgr/src/loop_libevent.c b/ctrl/facemgr/src/loop_libevent.c
index 92d5eb5ef..674eee905 100644
--- a/ctrl/facemgr/src/loop_libevent.c
+++ b/ctrl/facemgr/src/loop_libevent.c
@@ -302,11 +302,11 @@ _loop_register_timer(loop_t * loop, timer_callback_data_t * timer_callback_data)
struct itimerspec ts = {
.it_interval = {
- .tv_sec = 1, //timer_callback_data->delay_ms / 1000,
+ .tv_sec = timer_callback_data->delay_ms / 1000,
.tv_nsec = (timer_callback_data->delay_ms % 1000) * 1000000,
},
.it_value = {
- .tv_sec = 1, //timer_callback_data->delay_ms / 1000,
+ .tv_sec = timer_callback_data->delay_ms / 1000,
.tv_nsec = (timer_callback_data->delay_ms % 1000) * 1000000,
}
};