windows - set process priority class to ABOVE_NORMAL_PRIORITY_CLASS previous default was NORMAL_PRIORITY_CLASS before today
This commit is contained in:
parent
257bc9ff41
commit
57b6255b17
|
@ -609,7 +609,7 @@ SWITCH_DECLARE(void) switch_core_set_globals(void)
|
||||||
static int32_t set_priority(void)
|
static int32_t set_priority(void)
|
||||||
{
|
{
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
SetPriorityClass(GetCurrentProcess(), HIGH_PRIORITY_CLASS);
|
SetPriorityClass(GetCurrentProcess(), ABOVE_NORMAL_PRIORITY_CLASS);
|
||||||
#else
|
#else
|
||||||
#ifdef USE_SCHED_SETSCHEDULER
|
#ifdef USE_SCHED_SETSCHEDULER
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue