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.