Commit Graph
9 Commits
Author SHA1 Message Date
Brenda Wallace 8995037a86 Run Puma in single mode so the dyno stays under its memory limit
Puma was running in cluster mode with one worker, which keeps a master
process holding a full copy of the preloaded app next to the worker.
Heroku counts both, so the 512 MB dyno sat at ~620 MB with a constant
R14. WEB_CONCURRENCY of 0 or 1 now runs one process with no master;
two or more workers still use cluster mode with preload_app!.

Puma reads WEB_CONCURRENCY itself, so single mode is set explicitly
with `workers 0`. Added a comment explaining the memory budget.
2026-10-11 19:36:51 +13:00
google-labs-jules[bot]andCloCkWeRX dc8503c20c Remove Unicorn dependency and enable Puma clustered workers with preloading
Co-authored-by: CloCkWeRX <365751+CloCkWeRX@users.noreply.github.com>
2026-09-17 21:21:20 +00:00
Daniel O'Connor 555d5ddf15 Revert "Replace Sidekiq with Solid Queue (#4619)" (#4620)
This reverts commit 4659ac5464.
2026-05-04 18:15:17 +09:30
4659ac5464 Replace Sidekiq with Solid Queue (#4619)
* Replace Sidekiq with Solid Queue

This commit transitions the background job processing from Sidekiq to
Solid Queue.

Changes:
- Replaced `sidekiq` gem with `solid_queue` in Gemfile.
- Updated `development.rb` and `production.rb` to use `:solid_queue` as
  the queue adapter.
- Added Solid Queue database tables via a new migration.
- Configured Solid Queue in `config/queue.yml` and `config/recurring.yml`.
- Integrated Solid Queue supervisor as a Puma plugin in `config/puma.rb`.
- Removed separate worker process from `Procfile`.
- Removed Sidekiq-specific configuration files.
- Updated Gemfile.lock to support both `ruby` and `x86_64-linux` platforms.

Co-authored-by: CloCkWeRX <365751+CloCkWeRX@users.noreply.github.com>

* Fix regression in gemfiles

---------

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2026-05-03 15:29:03 +09:30
Brenda Wallace 958ee66e79 Apply suggestions from code review 2020-08-26 12:36:58 +12:00
Brenda Wallace 59efe92648 Upgrade to rails 6 2020-08-26 12:36:58 +12:00
Brenda Wallace c19d09bb37 Switch from unicorn to puma 2019-10-19 18:47:28 +13:00
Brenda Wallace a43c235423 Upgrade to Rails 5.2 2019-01-01 10:31:53 +13:00
Brenda Wallace f4af682d45 Updated code for Rail 5 2018-01-03 17:12:17 +13:00