From 7bf1cfef9b65beb1761688068967a3afb050d8ff Mon Sep 17 00:00:00 2001 From: Fred Gleason Date: Fri, 22 Jul 2016 12:42:23 -0400 Subject: [PATCH] 2016-07-22 Fred Gleason * Fixed bug in 'utils/rdclilogedit/rdclilogedit.cpp' that would cause the DB connection to time out. --- ChangeLog | 3 +++ utils/rdclilogedit/rdclilogedit.cpp | 2 ++ 2 files changed, 5 insertions(+) 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