aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver
diff options
context:
space:
mode:
Diffstat (limited to 'src/libserver')
-rw-r--r--src/libserver/cfg_utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libserver/cfg_utils.c b/src/libserver/cfg_utils.c
index ed764a9ef..56fb8d3ca 100644
--- a/src/libserver/cfg_utils.c
+++ b/src/libserver/cfg_utils.c
@@ -750,8 +750,8 @@ rspamd_config_new_worker (struct rspamd_config *cfg,
#else
c->count = DEFAULT_WORKERS_NUM;
#endif
- c->rlimit_nofile = DEFAULT_RLIMIT_NOFILE;
- c->rlimit_maxcore = DEFAULT_RLIMIT_MAXCORE;
+ c->rlimit_nofile = 0;
+ c->rlimit_maxcore = 0;
}
return c;