MCPcopy Create free account
hub / github.com/Tencent/phxsql / SetConfig

Method SetConfig

phxsqlproxy/plugin/requestfilter/freqfilter_plugin.cpp:65–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65void FreqFilterPlugin::SetConfig(phxsqlproxy::PHXSqlProxyConfig * config, phxsqlproxy::WorkerConfig_t * worker_config) {
66 FreqCtrlConfig * freq_ctrl_config = FreqCtrlConfig::GetDefault();
67 freq_ctrl_config->ReadFileWithConfigDirPath(config->GetFreqCtrlConfigPath());
68}
69
70}
71

Callers

nothing calls this directly

Calls 2

GetFreqCtrlConfigPathMethod · 0.80

Tested by

no test coverage detected