提交 ede19cad authored 作者: Anthony Minessale's avatar Anthony Minessale

no this is better the other way

上级 e7b3c3b1
...@@ -94,7 +94,7 @@ SWITCH_DECLARE(int) switch_core_db_exec(switch_core_db_t *db, const char *sql, s ...@@ -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 (ret == SQLITE_BUSY || ret == SQLITE_LOCKED) {
if (sane > 1) { if (sane > 1) {
switch_core_db_free(err); switch_core_db_free(err);
switch_yield(1000); /* Was 100000. I think it's too much */ switch_yield(100000);
continue; continue;
} }
} else { } else {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论