mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-08 08:51:50 +00:00
adjust switch_yield times in switch_core_sql_db_thread() and pool_thread()
This commit is contained in:
parent
86509640e3
commit
ad7c7f1323
@ -548,7 +548,7 @@ static void *SWITCH_THREAD_FUNC pool_thread(switch_thread_t *thread, void *obj)
|
|||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
switch_yield(100000);
|
switch_yield(1000000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -898,7 +898,7 @@ static void *SWITCH_THREAD_FUNC switch_core_sql_db_thread(switch_thread_t *threa
|
|||||||
wake_thread(0);
|
wake_thread(0);
|
||||||
sec = 0;
|
sec = 0;
|
||||||
}
|
}
|
||||||
switch_yield(1000);
|
switch_yield(1000000);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user