adjust switch_yield times in switch_core_sql_db_thread() and pool_thread()

This commit is contained in:
Mathieu Rene 2010-11-18 11:17:11 -05:00
parent 86509640e3
commit ad7c7f1323
2 changed files with 2 additions and 2 deletions

View File

@ -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);
} }
} }

View File

@ -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);
} }