Skip to content

Commit 756b516

Browse files
committed
optimize initial buffer size
1 parent e67cd63 commit 756b516

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nanonext.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ typedef struct nano_handle_s {
108108

109109
#define ERROR_OUT(xc) Rf_error("%d | %s", xc, nng_strerror(xc))
110110
#define ERROR_RET(xc) { Rf_warning("%d | %s", xc, nng_strerror(xc)); return mk_error(xc); }
111-
#define NANONEXT_INIT_BUFSIZE 8192
111+
#define NANONEXT_INIT_BUFSIZE 4096
112112
#define NANONEXT_SERIAL_VER 3
113113
#define NANONEXT_SERIAL_THR 134217728
114114
#define NANONEXT_ERR_STRLEN 40

0 commit comments

Comments
 (0)