On 10 Aug 2015, at 11:12pm, ??????? ??????????? <dm3chip at gmail.com> wrote:

> But what is minimum period?

The minimum period doesn't matter.

The number you set the timeout to is the /maximum/ period.  SQLite will 
continue to try to access the file until that amount of time has passed.  Then 
it will give up, returning an error.

But SQLite does not start by waiting that amount of time.  SQLite starts off by 
trying to access the file immediately.  If that fails and you haven't set a 
timeout, then it returns an error.

If you did set a timeout then SQLite wais a very short time (a millisecond ?) 
before it tries again, then it waits a little longer, then a little longer 
still, etc..  It gradually increases the time until the total time reaches the 
time you set.  It does not use the number you used as a guide for the short 
times is waits.

Simon.

Reply via email to