Home
Do you change the connection timeout to 5 seconds?
  v3.0 Posted at 19/06/2018 4:25 PM by Harry Phan
​​By default, the connection timeout is 15 seconds. When it comes to testing if a connection is valid or not, 15 seconds is a long time for the user to wait. You should change the connection timeout inside your connection strings to 5 seconds.​

"Integrated Security=SSPI;Initial Catalog=SallyKnoxMedical;Data
Source=TUNA"

Figure: Bad Connection String

"Integrated Security=SSPI;Initial Catalog=SallyKnoxMedical;Data Source=TUNA;
Connect Timeout=5"​

Figure: Good Connection String with a 5-second connection timeout

Related rules

    Do you feel this rule needs an update?

    If you want to be notified when this rule is updated, please enter your email address:

    Comments:

    Note: Social Media login for Yotpo is not working in IE or Safari, please use Chrome. We are waiting for Yotpo to fix it.