From f4baf1761a4e92c3f0353f516551eb83dab16d34 Mon Sep 17 00:00:00 2001 From: Qiu Jian Date: Wed, 1 Apr 2020 10:16:03 +0800 Subject: [PATCH] fix: changes to request_work_count cause apigateway restart --- pkg/apigateway/service/service.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkg/apigateway/service/service.go b/pkg/apigateway/service/service.go index ccd089cb53..ab0532d034 100644 --- a/pkg/apigateway/service/service.go +++ b/pkg/apigateway/service/service.go @@ -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() }