diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2017-05-17 14:49:17 +0200 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2017-05-17 15:01:05 +0200 |
commit | 4cb06c72131e37fa9058707e11497cfd905b1a89 (patch) | |
tree | c533ff0cd8152f06fd5e2fa194389e4de9c1d40d | |
parent | e5dfc8253bebb7cfed06f81f34bbe1afdf285735 (diff) | |
download | firewall3-4cb06c72131e37fa9058707e11497cfd905b1a89.tar.gz |
ubus: increase ubus network interface dump timeout
When netifd is being stressed (eg doing reconfig using multiple interfaces)
ubus timeouts can be observed when invoking network interface dump.
Increase the ubus timeout to 2000 msec similar to the service ubus timeout.
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
-rw-r--r-- | ubus.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -51,7 +51,7 @@ fw3_ubus_connect(void) if (ubus_lookup_id(ctx, "network.interface", &id)) goto out; - if (ubus_invoke(ctx, id, "dump", NULL, dump_cb, NULL, 500)) + if (ubus_invoke(ctx, id, "dump", NULL, dump_cb, NULL, 2000)) goto out; status = true; |