-
-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
using defined Puma config #205
base: main
Are you sure you want to change the base?
using defined Puma config #205
Conversation
df148bf
to
e68b750
Compare
Sent upstream at: rubygems#205
This changes threads the `gemstash_env.config` options for Puma through to the `Puma::CLI.new` call. Prior to this change `:puma_workers` and `:puma_threads` were ignored when booting Gemstash via the CLI
e68b750
to
a031473
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems one of the new methods was not called.
lib/gemstash/cli/start.rb
Outdated
@@ -33,12 +33,24 @@ def puma_config | |||
File.expand_path("../../puma.rb", __FILE__) | |||
end | |||
|
|||
def store_pidfile | |||
gemstash_env.pidfile = pidfile? | |||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This method and #pidfile?
are unused. Perhaps it's not meant to be a part of this changeset?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Noted and removed.
@olleolleolle Let me know if further updates are required. |
This effectively applies commit 7624401 When gusto/redis is merged in upstream, then this commit becomes unnecssary. For now gusto's gemstash fork is in an unideal inbetween state
Would like to test this before merge 😬 |
This changes threads the
gemstash_env.config
options for Puma through to thePuma::CLI.new
call.Prior to this change
:puma_workers
and:puma_threads
were ignored when booting Gemstash via the CLI