Skip to content

Commit

Permalink
Reduce over all threads running this web server (#528)
Browse files Browse the repository at this point in the history
  • Loading branch information
brand-it authored Dec 13, 2024
1 parent e711d65 commit 9d5537e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/initializers/backgrounder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def kill

attr_accessor :current_job
end
TOTAL_MANAGERS = 5
TOTAL_MANAGERS = 3

CRON_TASKS = {
'ContinueUploadWorker' => 60.seconds.to_i,
Expand Down
2 changes: 1 addition & 1 deletion config/puma.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#
# 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
threads 1, 2

workers 0 # Won't work on multiple process because it shares memory for webhooks

Expand Down
2 changes: 1 addition & 1 deletion current_version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v6.0.0
v6.0.1

0 comments on commit 9d5537e

Please sign in to comment.