From: Anthony Minessale Date: Mon, 7 Mar 2011 02:57:26 +0000 (-0600) Subject: no this is better the other way X-Git-Tag: v1.2-rc1~181^2~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ede19cad7279bbcab1268d98c58015b3fed2738c;p=thirdparty%2Ffreeswitch.git no this is better the other way --- 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 {