Commit ef523ea6 authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner
Browse files

[2862] Scan for remote segments after reconfiguration

parent eb01e3dc
......@@ -109,9 +109,11 @@ datasrcConfigHandler(AuthSrv* server, bool* first_time,
assert(config_session != NULL);
*first_time = false;
server->getDataSrcClientsMgr().reconfigure(
config_session->getRemoteConfigValue("data_sources", "classes"));
config_session->getRemoteConfigValue("data_sources", "classes"),
boost::bind(&AuthSrv::listsReconfigured, server));
} else if (config->contains("classes")) {
server->getDataSrcClientsMgr().reconfigure(config->get("classes"));
server->getDataSrcClientsMgr().reconfigure(config->get("classes"),
boost::bind(&AuthSrv::listsReconfigured, server));
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment