Skip to content

Commit f7d480b

Browse files
authored
Increase MAX_STRING_SIZE from 4096 to 16384
1 parent 95109f5 commit f7d480b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/common/consts.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
// clang-format off
3030
#define MAX_PERCPU_BUFSIZE (1 << 15) // set by the kernel as an upper bound
3131
#define PATH_MAX 4096
32-
#define MAX_STRING_SIZE 4096 // same as PATH_MAX
32+
#define MAX_STRING_SIZE 16384
3333
#define MAX_BYTES_ARR_SIZE 4096 // same as PATH_MAX
3434
#define MAX_BUF_READ_SIZE 4096
3535
#define ARGS_BUF_SIZE 32000
@@ -60,4 +60,4 @@ enum buf_idx_e
6060
};
6161

6262

63-
#endif // __STACKPLZ_CONSTS_H__
63+
#endif // __STACKPLZ_CONSTS_H__

0 commit comments

Comments
 (0)