Permalink
Browse files

Fixes #10341. Use default SQLConnectRetry if not specified in the con…

…fig.xml.

Reported by xavier.hervy@gmail.com.
  • Loading branch information...
daniel-kristjansson committed May 4, 2012
1 parent a1d9015 commit 986a5869911ca56d32ed3d6c0325f9e825e628c4
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythtv/libs/libmyth/mythcontext.cpp
@@ -450,7 +450,7 @@ bool MythContextPrivate::LoadDatabaseSettings(void)
m_DBparams.wolReconnect =
m_pConfig->GetValue(kDefaultWOL + "SQLReconnectWaitTime", 0);
m_DBparams.wolRetry =
- m_pConfig->GetValue(kDefaultWOL + "SQLConnectRetry", 0);
+ m_pConfig->GetValue(kDefaultWOL + "SQLConnectRetry", 5);
m_DBparams.wolCommand =
m_pConfig->GetValue(kDefaultWOL + "Command", "");

0 comments on commit 986a586

Please sign in to comment.