Merge pull request #5640 from swordqiu/hotfix/qj-apigateway-upgrade-cause-restart

fix: changes to request_work_count cause apigateway restart
This commit is contained in:
Zexi Li
2020-04-01 10:23:18 +08:00
committed by GitHub
-4
View File
@@ -44,10 +44,6 @@ func StartService() {
common_options.StartOptionManager(opts, opts.ConfigSyncPeriodSeconds, api.SERVICE_TYPE, api.SERVICE_VERSION, options.OnOptionsChange)
if commonOpts.RequestWorkerCount < 32 {
commonOpts.RequestWorkerCount = 32
}
if opts.DisableModuleApiVersion {
mcclient.DisableApiVersionByModule()
}