Increase exec command timeout to 30 seconds

This commit is contained in:
Jo-Philipp Wich 2013-07-15 16:03:37 +02:00
parent c2460e1cac
commit d2fac3e23c

2
exec.h
View file

@ -24,7 +24,7 @@
#include <libubox/ustream.h>
#define RPC_EXEC_MAX_SIZE (4096 * 64)
#define RPC_EXEC_MAX_RUNTIME (3 * 1000)
#define RPC_EXEC_MAX_RUNTIME (30 * 1000)
#define ustream_for_each_read_buffer(stream, ptr, len) \
for (ptr = ustream_get_read_buf(stream, &len); \