corrected caption
authorAndreas Steffen <andreas.steffen@strongswan.org>
Thu, 21 Aug 2008 11:58:58 +0000 (11:58 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Thu, 21 Aug 2008 11:58:58 +0000 (11:58 -0000)
src/libstrongswan/plugins/sqlite/sqlite_database.c

index 2d41219..c5a5a99 100644 (file)
@@ -295,7 +295,7 @@ static db_driver_t get_driver(private_sqlite_database_t *this)
  */
 static int busy_handler(private_sqlite_database_t *this, int count)
 {
-       /* add an sleep, exponentially longer on every try */
+       /* add a backoff time, quadratically increasing with every try */
        usleep(count * count * 1000);
        /* always retry */
        return 1;