From 2976fdda4a509fca53c3c5007914774b43b3971d Mon Sep 17 00:00:00 2001 From: Amin Ben Romdhane Date: Tue, 4 Mar 2025 09:19:09 +0000 Subject: [PATCH] Increase ubus timeout to 5s for sync calls --- bbfdmd/ubus/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bbfdmd/ubus/common.c b/bbfdmd/ubus/common.c index a8354e3d..17332f2a 100644 --- a/bbfdmd/ubus/common.c +++ b/bbfdmd/ubus/common.c @@ -190,7 +190,7 @@ void run_sync_call(const char *ubus_obj, const char *ubus_method, struct blob_at BBFDM_FREE(json_str); } - BBFDM_UBUS_INVOKE_SYNC(ubus_obj, ubus_method, req_buf.head, 2000, sync_callback, bb_response); + BBFDM_UBUS_INVOKE_SYNC(ubus_obj, ubus_method, req_buf.head, 5000, sync_callback, bb_response); blob_buf_free(&req_buf); }