summaryrefslogtreecommitdiff
path: root/src/constants.h
diff options
context:
space:
mode:
authorMole Shang <[email protected]>2023-08-06 19:04:18 +0800
committerMole Shang <[email protected]>2023-08-06 19:04:18 +0800
commit99eded34e119d5b88d5210a617ecc35ba7347306 (patch)
tree6b532b4ad675f5bbaad818be49ebd299891a85e7 /src/constants.h
parentbde03538d66c37d5690ab321173eb83ecfcaf2ff (diff)
downloadhinata-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.h3
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)