forked from Mirrors/freeswitch
no this is better the other way
This commit is contained in:
parent
e7b3c3b1ad
commit
ede19cad72
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user