corrected caption
This commit is contained in:
parent
5cd07d18a3
commit
dc6a2edd0d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue