luci-base: rpc.js: increase default timeout to 20s, allow batch prevention
authorJo-Philipp Wich <jo@mein.io>
Sat, 21 Sep 2019 08:21:15 +0000 (10:21 +0200)
committerJo-Philipp Wich <jo@mein.io>
Sat, 21 Sep 2019 08:23:37 +0000 (10:23 +0200)
commit21d1266c53d07f02c3b24314c62e86f2fa82fe9b
tree3b4c2ba2a3021b11f68423e078833b785806f907
parentafeacdc7df181a592bea2109497400427e6471be
luci-base: rpc.js: increase default timeout to 20s, allow batch prevention

Support a new option "nobatch: true" in rpc.declare() which prevents the
underlying RPC call from being batched with other calls.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/rpc.js