diff options
Diffstat (limited to 'src/libserver/logger.h')
-rw-r--r-- | src/libserver/logger.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libserver/logger.h b/src/libserver/logger.h index c5cc5beed..ca910c261 100644 --- a/src/libserver/logger.h +++ b/src/libserver/logger.h @@ -56,7 +56,12 @@ struct rspamd_logger_funcs { gpointer specific; }; +#if defined(__x86_64) || defined(__x86_64__) || defined(__amd64) || defined(_M_X64) #define RSPAMD_LOGBUF_SIZE 8192 +#else +/* Use a smaller buffer */ +#define RSPAMD_LOGBUF_SIZE 2048 +#endif /** * Opens a new (initial) logger with console type |