fix rubocop

This commit is contained in:
Pete Matsyburka committed 2026-10-30 11:03:27 +02:00
1 parent f9c12b9d78
commit 9bfa6f7f4a
25 files changed
+27 -52

No files matched your search

+1 -2
View File
@@ -2,7 +2,7 @@
require 'puma/plugin'
# rubocop:disable Metrics
# rubocop:disable-next Metrics
Puma::Plugin.create do
def start(launcher)
return if ENV['LOCAL_REDIS_URL'].to_s.empty?
@@ -68,4 +68,3 @@ Puma::Plugin.create do
nil
end
end
# rubocop:enable Metrics
+1 -2
View File
@@ -3,7 +3,7 @@
require 'puma/plugin'
require 'redis_client'
# rubocop:disable Metrics
# rubocop:disable-next Metrics
Puma::Plugin.create do
def config(cfg)
return if cfg.instance_variable_get(:@options)[:workers] <= 0
@@ -73,4 +73,3 @@ Puma::Plugin.create do
end
end
end
# rubocop:enable Metrics