Merge pull request #5641 from swordqiu/automated-cherry-pick-of-#5640-upstream-release-3.1

Automated cherry pick of #5640: fix: changes to request_work_count cause apigateway restart
This commit is contained in:
Zexi Li
2020-04-01 10:23:25 +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()
}