diff --git a/service/worker/deployment/fx.go b/service/worker/deployment/fx.go index 046cf8a4680..92dd4052b38 100644 --- a/service/worker/deployment/fx.go +++ b/service/worker/deployment/fx.go @@ -41,7 +41,6 @@ import ( type ( workerComponent struct { activityDeps activityDeps - enabledForNs dynamicconfig.BoolPropertyFnWithNamespaceFilter } activityDeps struct { @@ -93,14 +92,13 @@ func NewResult( return fxResult{ Component: &workerComponent{ activityDeps: params, - enabledForNs: dynamicconfig.EnableDeployments.Get(dc), }, } } func (s *workerComponent) DedicatedWorkerOptions(ns *namespace.Namespace) *workercommon.PerNSDedicatedWorkerOptions { return &workercommon.PerNSDedicatedWorkerOptions{ - Enabled: s.enabledForNs(ns.Name().String()), + Enabled: true, } }