SQLite Forum

What does, if many threads and/or processes need to write the database at the same instant, mean?
Login
Timeout setting is not a setting of a database file, it's associated with each connection to the database.  If each web-page access makes its own connection, then you. need to set timeout for each one.  Which is what you're doing.

The number in the brackets is milliseconds.  20 seconds is a fine and reasonable timeout setting and you should have a usable setup with it.