The default value of 15 seconds is a reasonable value, and there is rarely reason to change it.
The reason for a longer timeout is, for example, if heavy queries are sometimes run on your database server, which makes it inactive for several seconds.
, , , , , , .