From 0e2cb17889eb981f836f50d7947e5344f9d9f103 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 30 May 2013 12:38:25 +0200 Subject: [PATCH] ubus: fix script timeout unit (seconds, not milliseconds) Signed-off-by: Felix Fietkau --- ubus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ubus.c b/ubus.c index 79e077a..22901d8 100644 --- a/ubus.c +++ b/ubus.c @@ -257,7 +257,7 @@ static void uh_ubus_send_request(struct client *cl, json_object *obj, struct blo ubus_complete_request_async(ctx, &du->req); du->timeout.cb = uh_ubus_timeout_cb; - uloop_timeout_set(&du->timeout, conf.script_timeout); + uloop_timeout_set(&du->timeout, conf.script_timeout * 1000); du->req_pending = true; } -- 2.25.1