Skip to content

Commit

Permalink
Fix new rubocopy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhughes committed Jun 24, 2020
1 parent 233c6c0 commit bcf6eaf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Metrics/ClassLength:

# Offense count: 74
Metrics/CyclomaticComplexity:
Max: 22
Max: 28

# Offense count: 722
# Configuration parameters: CountComments, ExcludedMethods.
Expand Down
4 changes: 2 additions & 2 deletions config/puma.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
# the maximum value specified for Puma. Default is set to 5 threads for minimum
# and maximum; this matches the default thread size of Active Record.
#
max_threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }
max_threads_count = ENV.fetch("RAILS_MAX_THREADS", 5)
min_threads_count = ENV.fetch("RAILS_MIN_THREADS") { max_threads_count }
threads min_threads_count, max_threads_count

# Specifies the `port` that Puma will listen on to receive requests; default is 3000.
#
port ENV.fetch("PORT") { 3000 }
port ENV.fetch("PORT", 3000)

# Specifies the `environment` that Puma will run in.
#
Expand Down

0 comments on commit bcf6eaf

Please sign in to comment.