From: Alexander Koval <[email protected]>

- Increase RPC_FILE_MAX_RUNTIME from 3 to 30 seconds to run longer
commands

Signed-off-by: Alexander Koval <[email protected]>
---
 file.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/file.c b/file.c
index a09e9de..b07f308 100644
--- a/file.c
+++ b/file.c
@@ -39,7 +39,7 @@
 
 /* limit of regular files and command output data */
 #define RPC_FILE_MAX_SIZE              (4096 * 64)
-#define RPC_FILE_MAX_RUNTIME   (3 * 1000)
+#define RPC_FILE_MAX_RUNTIME   (30 * 1000)
 
 #define ustream_for_each_read_buffer(stream, ptr, len) \
        for (ptr = ustream_get_read_buf(stream, &len);     \
-- 
2.17.1



_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to