diff --git a/ChangeLog b/ChangeLog index b14c465e..ae0d6750 100644 --- a/ChangeLog +++ b/ChangeLog @@ -15376,3 +15376,6 @@ 2016-07-22 Fred Gleason * Added the man page for rdclilogedit(1) to the manifest in 'rivendell.spec.in'. +2016-07-22 Fred Gleason + * Fixed bug in 'utils/rdclilogedit/rdclilogedit.cpp' that would + cause the DB connection to time out. diff --git a/utils/rdclilogedit/rdclilogedit.cpp b/utils/rdclilogedit/rdclilogedit.cpp index 4d09eba0..fd5c76df 100644 --- a/utils/rdclilogedit/rdclilogedit.cpp +++ b/utils/rdclilogedit/rdclilogedit.cpp @@ -30,6 +30,7 @@ #include #include +#include #include #include "rdclilogedit.h" @@ -78,6 +79,7 @@ MainObject::MainObject(QObject *parent) db->removeDatabase(edit_config->mysqlDbname()); exit(256); } + new RDDbHeartbeat(edit_config->mysqlHeartbeatInterval(),this); // // RDAirPlay Configuration