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:
openSUSE Build Service is sponsored by