Fix binlogrouter slave heartbeat task addition

The task was added multiple times when only one task is needed.
This commit is contained in:
Markus Mäkelä
2019-03-28 10:46:38 +02:00
parent f6219d1a80
commit 18cd890474
3 changed files with 5 additions and 1 deletions

View File

@ -800,6 +800,7 @@ struct ROUTER_INSTANCE : public MXS_ROUTER
unsigned long burst_size; /*< Maximum size of burst to send */
unsigned long heartbeat; /*< Configured heartbeat value */
bool heartbeat_task_active;
bool slave_heartbeat_task_active;
ROUTER_STATS stats; /*< Statistics for this router */
int active_logs;
int reconnect_pending;