diff options
author | Mole Shang <[email protected]> | 2023-08-06 19:04:18 +0800 |
---|---|---|
committer | Mole Shang <[email protected]> | 2023-08-06 19:04:18 +0800 |
commit | 99eded34e119d5b88d5210a617ecc35ba7347306 (patch) | |
tree | 6b532b4ad675f5bbaad818be49ebd299891a85e7 /src/constants.h | |
parent | bde03538d66c37d5690ab321173eb83ecfcaf2ff (diff) | |
download | hinata-99eded34e119d5b88d5210a617ecc35ba7347306.tar.gz hinata-99eded34e119d5b88d5210a617ecc35ba7347306.tar.bz2 hinata-99eded34e119d5b88d5210a617ecc35ba7347306.zip |
process_url: move constant macros to constants.h
Diffstat (limited to 'src/constants.h')
-rw-r--r-- | src/constants.h | 3 |
1 files changed, 3 insertions, 0 deletions
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) |