Increase ubus timeout to 5s for sync calls

This commit is contained in:
Amin Ben Romdhane 2025-03-04 09:19:09 +00:00 committed by IOPSYS Dev
parent 1c417534a8
commit 2976fdda4a
No known key found for this signature in database

View file

@ -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);
}