From ede19cad7279bbcab1268d98c58015b3fed2738c Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Sun, 6 Mar 2011 20:57:26 -0600 Subject: [PATCH] no this is better the other way --- src/switch_core_db.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_core_db.c b/src/switch_core_db.c index c64629c32b..475bcfd649 100644 --- a/src/switch_core_db.c +++ b/src/switch_core_db.c @@ -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 {