MXS-2002 Rename Worker::post() to Worker::execute()
The main point is that tasks/functions are executed, not that they are posted.
This commit is contained in:
@ -966,7 +966,7 @@ void MariaDBMonitor::disable_setting(const std::string& setting)
|
||||
{
|
||||
Worker* worker = static_cast<Worker*>(mxs_rworker_get(MXS_RWORKER_MAIN));
|
||||
|
||||
worker->post([=]()
|
||||
worker->execute([=]()
|
||||
{
|
||||
MXS_CONFIG_PARAMETER p = {};
|
||||
p.name = const_cast<char*>(setting.c_str());
|
||||
|
Reference in New Issue
Block a user