no this is better the other way

This commit is contained in:
Anthony Minessale 2011-03-06 20:57:26 -06:00
parent e7b3c3b1ad
commit ede19cad72

View File

@ -94,7 +94,7 @@ SWITCH_DECLARE(int) switch_core_db_exec(switch_core_db_t *db, const char *sql, s
if (ret == SQLITE_BUSY || ret == SQLITE_LOCKED) {
if (sane > 1) {
switch_core_db_free(err);
switch_yield(1000); /* Was 100000. I think it's too much */
switch_yield(100000);
continue;
}
} else {