aboutsummaryrefslogtreecommitdiffstats
path: root/ctrl
diff options
context:
space:
mode:
authorJordan Augé <jordan.auge+fdio@cisco.com>2020-01-13 10:08:24 +0100
committerJordan Augé <jordan.auge+fdio@cisco.com>2020-01-13 10:08:24 +0100
commit3f4acd6752d19ebe29fd0b04101fbe5b5199c119 (patch)
tree908a13880f35c8127207bccd93a98243201f0b3b /ctrl
parentee3014effda7fddf3538d1d3ac627a5a89676fcf (diff)
[HICN-472] Decrease reattempt timeout in face manager to 250ms
Change-Id: I85a4b05db9867753318ce9ca59b54a7ec81cd9e9 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Diffstat (limited to 'ctrl')
-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,
}
};