mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-15 08:29:45 +00:00
I guess we have to leave this for lusers
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12538 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
a1e1c5e968
commit
bfb4fd36db
@ -792,7 +792,7 @@ SWITCH_DECLARE(void) switch_core_setrlimits(void)
|
|||||||
#ifndef __FreeBSD__
|
#ifndef __FreeBSD__
|
||||||
memset(&rlp, 0, sizeof(rlp));
|
memset(&rlp, 0, sizeof(rlp));
|
||||||
rlp.rlim_cur = SWITCH_THREAD_STACKSIZE;
|
rlp.rlim_cur = SWITCH_THREAD_STACKSIZE;
|
||||||
rlp.rlim_max = SWITCH_THREAD_STACKSIZE;
|
rlp.rlim_max = SWITCH_SYSTEM_THREAD_STACKSIZE;
|
||||||
setrlimit(RLIMIT_STACK, &rlp);
|
setrlimit(RLIMIT_STACK, &rlp);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user