Skip to content

Commit 906bc7a

Browse files
endothermicdevrustyrussell
authored andcommitted
reckless-rpc: increase initial buffer size
Reckless uv installations typically produce 3KB+ of output.
1 parent e67dd18 commit 906bc7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/recklessrpc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,8 @@ static struct command_result *reckless_call(struct command *cmd,
240240
struct reckless *reckless;
241241
reckless = tal(NULL, struct reckless);
242242
reckless->cmd = cmd;
243-
reckless->stdoutbuf = tal_arrz(reckless, char, 1024);
244-
reckless->stderrbuf = tal_arrz(reckless, char, 1024);
243+
reckless->stdoutbuf = tal_arrz(reckless, char, 4096);
244+
reckless->stderrbuf = tal_arrz(reckless, char, 4096);
245245
reckless->stdout_read = 0;
246246
reckless->stdout_new = 0;
247247
reckless->stderr_read = 0;

0 commit comments

Comments
 (0)