summaryrefslogtreecommitdiff
path: root/app/models/pages_domain.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/pages_domain.rb')
-rw-r--r--app/models/pages_domain.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/models/pages_domain.rb b/app/models/pages_domain.rb
index d071d2d3c89..98db47deaa3 100644
--- a/app/models/pages_domain.rb
+++ b/app/models/pages_domain.rb
@@ -249,11 +249,7 @@ class PagesDomain < ApplicationRecord
return if usage_serverless?
return unless pages_deployed?
- if Feature.enabled?(:async_update_pages_config, project)
- run_after_commit { PagesUpdateConfigurationWorker.perform_async(project_id) }
- else
- Projects::UpdatePagesConfigurationService.new(project).execute
- end
+ run_after_commit { PagesUpdateConfigurationWorker.perform_async(project_id) }
end
# rubocop: enable CodeReuse/ServiceClass