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
@@ -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