dns clickhouse改造
This commit is contained in:
@@ -887,6 +887,12 @@ func (this *Node) onReload(config *nodeconfigs.NodeConfig, reloadAll bool) {
|
||||
nodeconfigs.ResetNodeConfig(config)
|
||||
sharedNodeConfig = config
|
||||
|
||||
var accessLogFilePath string
|
||||
if config != nil && config.GlobalServerConfig != nil {
|
||||
accessLogFilePath = config.GlobalServerConfig.HTTPAccessLog.FilePath
|
||||
}
|
||||
accesslogs.SharedFileWriter().SetDirByPolicyPath(accessLogFilePath)
|
||||
|
||||
// 并发读写数
|
||||
fsutils.ReaderLimiter.SetThreads(config.MaxConcurrentReads)
|
||||
fsutils.WriterLimiter.SetThreads(config.MaxConcurrentWrites)
|
||||
|
||||
Reference in New Issue
Block a user