Detect manual commands faster

Previous, MariaDBMonitor would wait until the next monitor interval before detecting
a new manual command. The commands are now checked every 100 ms.
This commit is contained in:
Esa Korhonen
2018-11-07 16:56:52 +02:00
parent 8058e46309
commit ecc7442358
4 changed files with 27 additions and 8 deletions

View File

@ -245,6 +245,7 @@ private:
void clear_server_info();
void reset_node_index_info();
bool execute_manual_command(std::function<void ()> command, json_t** error_out);
bool immediate_tick_required() const;
std::string diagnostics_to_string() const;
json_t* to_json() const;