From 99eded34e119d5b88d5210a617ecc35ba7347306 Mon Sep 17 00:00:00 2001 From: Mole Shang <135e2@135e2.dev> Date: Sun, 6 Aug 2023 19:04:18 +0800 Subject: process_url: move constant macros to constants.h --- src/constants.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/constants.h') diff --git a/src/constants.h b/src/constants.h index 5891d7a..2d49ffd 100644 --- a/src/constants.h +++ b/src/constants.h @@ -4,6 +4,9 @@ #define APP_NAME "Hinata" #define MAX_VALUE 100 +#define MAX_THREAD 6 +#define MAX_THREAD_SIZE 10485760 + #define CEIL_DIV(a, b) (((a) + (b)-1) / (b)) #define MAX(x, y) ((x) > (y)) ? (x) : (y) -- cgit v1.2.3