mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 08:05:37 +00:00
mistake on last commit
This commit is contained in:
parent
d659f8ced4
commit
377e093a31
@ -1714,10 +1714,9 @@ static void *SWITCH_THREAD_FUNC switch_user_sql_thread(switch_thread_t *thread,
|
||||
|
||||
if ((lc = qm_ttl(qm)) < qm->max_trans / 4) {
|
||||
switch_yield(500000);
|
||||
} else if (lc == 0) {
|
||||
switch_thread_cond_wait(qm->cond, qm->cond_mutex);
|
||||
} else {
|
||||
switch_cond_next();
|
||||
if ((lc = qm_ttl(qm)) == 0) {
|
||||
switch_thread_cond_wait(qm->cond, qm->cond_mutex);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user