]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
no this is better the other way
authorAnthony Minessale <anthm@freeswitch.org>
Mon, 7 Mar 2011 02:57:26 +0000 (20:57 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Mon, 7 Mar 2011 02:57:26 +0000 (20:57 -0600)
src/switch_core_db.c

index c64629c32bfb85f01e53d3b4289c610fa078c465..475bcfd6496b930321ca43f050e30685d6b6ff16 100644 (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 {