简体   繁体   中英

Configuring puma on Rails Application

How can I configure the number of workers, threads and timeout for puma ? I know I'd have to create a file called puma.rb under config and load the server as puma config/puma.rb. The thing is that I don't have control over the way how the server is initialized. Is there any other way I can configure puma ? I mean, without pointing the configuration file ?

You should start your Rails application from a Puma upstart. There isn't many details in your question, but maybe this documentation will help you. Depending on your access rights to the server, might be impossible for you to do.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM