Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:darix:apps
discourse
discourse.fix-puma-config.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File discourse.fix-puma-config.patch of Package discourse
Index: discourse/config/puma.rb =================================================================== --- discourse.orig/config/puma.rb +++ discourse/config/puma.rb @@ -2,7 +2,7 @@ if ENV["RAILS_ENV"] == "production" # First, you need to change these below to your situation. - APP_ROOT = ENV["APP_ROOT"] || "/home/discourse/discourse" + APP_ROOT = ENV["APP_ROOT"] || "/srv/www/vhosts/discourse" num_workers = ENV["NUM_WEBS"].to_i > 0 ? ENV["NUM_WEBS"].to_i : 4 # Second, you can choose how many threads that you are going to run at same time. Index: discourse/config/sidekiq.yml =================================================================== --- discourse.orig/config/sidekiq.yml +++ discourse/config/sidekiq.yml @@ -1,4 +1,10 @@ --- +production: + :concurrency: 10 + :queues: + - [critical,5] + - [default, 3] + - [low, 2] development: :concurrency: 5 :queues:
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor