[OpenWrt-Devel] [PATCH] rpcd: increase file max runtime
alex123 at hades.in.ua
alex123 at hades.in.ua
Thu Sep 6 09:52:57 EDT 2018
From: Alexander Koval <alex123 at hades.in.ua>
- Increase RPC_FILE_MAX_RUNTIME from 3 to 30 seconds to run longer
commands
Signed-off-by: Alexander Koval <alex123 at hades.in.ua>
---
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
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list