Manual:$wgDBClusterTimeout

Details
When to give error messages.