1234567891011121314151617181920212223242526272829303132 |
- From c1a94a6481af2de66ebc8cde18d99334de3e4c84 Mon Sep 17 00:00:00 2001
- From: bfgeshka <bfgeshka@horsefucker.org>
- Date: Sun, 13 Jun 2021 22:40:11 +0900
- Subject: [PATCH] overrule queue size
- ---
- src/threadpool.h | 2 +-
- 1 file changed, 1 insertions(+), 1 deletions(-)
- diff --git a/src/threadpool.h b/src/threadpool.h
- index 2f0ddbc..60780a8 100644
- --- a/src/threadpool.h
- +++ b/src/threadpool.h
- @@ -37,13 +37,13 @@ extern "C" {
- * @file threadpool.h
- * @brief Threadpool Header File
- */
-
- /**
- * Increase this constants at your own risk
- * Large values might slow down your system
- */
- #define MAX_THREADS 64
- -#define MAX_QUEUE 65536
- +#define MAX_QUEUE 2000000
-
- typedef struct threadpool_t threadpool_t;
-
- --
- 2.31.0
|