less priority
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2645 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
acc81d7b55
commit
1ce451ad65
|
@ -62,7 +62,7 @@ static void set_high_priority()
|
|||
#ifdef WIN32
|
||||
SetPriorityClass(GetCurrentProcess(), HIGH_PRIORITY_CLASS);
|
||||
#else
|
||||
nice(-20);
|
||||
//nice(-20);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
@ -3596,7 +3596,9 @@ SWITCH_DECLARE(switch_status_t) switch_core_init_and_modload(char *console, cons
|
|||
}
|
||||
|
||||
#ifdef HAVE_MLOCKALL
|
||||
#ifdef USE_MLOCKALL
|
||||
mlockall(MCL_CURRENT|MCL_FUTURE);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CONSOLE, "\nFreeSWITCH Version %s Started.\nCrash Protection [%s]\nMax Sessions[%u]\n\n", SWITCH_VERSION_FULL, __CP, switch_core_session_limit(0));
|
||||
|
|
Loading…
Reference in New Issue