aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/cfg_file.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-10-14 17:48:46 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-10-14 17:48:46 +0100
commite229b6dd55b04b155b17fcb8c09b9f7e602c4913 (patch)
tree40163e7cfe4ec72308b359fa13e464bd70e538a2 /src/libserver/cfg_file.h
parent784746733a95d847e741a2d74153e99349b52fee (diff)
downloadrspamd-e229b6dd55b04b155b17fcb8c09b9f7e602c4913.tar.gz
rspamd-e229b6dd55b04b155b17fcb8c09b9f7e602c4913.zip
[Fix] Add configurable number of threads for OpenBLAS
Issue: #3082
Diffstat (limited to 'src/libserver/cfg_file.h')
-rw-r--r--src/libserver/cfg_file.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libserver/cfg_file.h b/src/libserver/cfg_file.h
index 4eea4db16..3ee832d5a 100644
--- a/src/libserver/cfg_file.h
+++ b/src/libserver/cfg_file.h
@@ -463,6 +463,7 @@ struct rspamd_config {
guint lua_gc_pause; /**< lua gc pause */
guint full_gc_iters; /**< iterations between full gc cycle */
guint max_lua_urls; /**< maximum number of urls to be passed to Lua */
+ guint max_blas_threads; /**< maximum threads for openblas when learning ANN */
GList *classify_headers; /**< list of headers using for statistics */
struct module_s **compiled_modules; /**< list of compiled C modules */