diff options
author | Jan Hoffmann <jan@3e8.eu> | 2023-11-18 09:52:45 +0100 |
---|---|---|
committer | Jan Hoffmann <jan@3e8.eu> | 2023-11-18 09:52:45 +0100 |
commit | 3ac4f567dfdfd6ee989ceffb025241e605790b6d (patch) | |
tree | e338880f0df823f6cb2dd345f18abb284a4b6c8d /modules/luci-mod-network/htdocs/luci-static/resources | |
parent | 63d5e239633371ae19b61038c1c7e8c11c2fc75f (diff) |
luci-app-vnstat2: use more efficient way to get database interfaces
The currently used command "vnstat --json f 1" can be very slow when the
database contains many entries. This can result in an XHR timeout error
on the configuration page.
Use the "--dbiflist" option instead, which was added in vnStat 2.7.
Fixes: #6702
Signed-off-by: Jan Hoffmann <jan@3e8.eu>
Diffstat (limited to 'modules/luci-mod-network/htdocs/luci-static/resources')
0 files changed, 0 insertions, 0 deletions