Browse Source

Do not touch limits if not asked explicitly.

Reported by:	@citrin
tags/0.7.2
Vsevolod Stakhov 9 years ago
parent
commit
051bf27668
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/libserver/cfg_utils.c

+ 2
- 2
src/libserver/cfg_utils.c View File

@@ -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;

Loading…
Cancel
Save