Closed ezekg closed 1 month ago
Right now it's using RAILS_MAX_THREADS but it should use SIDEKIQ_CONCURRENCY in the worker process since these values often do not align (e.g. we're using 2 and 25 in production, respectively).
RAILS_MAX_THREADS
SIDEKIQ_CONCURRENCY
See: https://github.com/mastodon/mastodon/pull/26488
See: https://github.com/mastodon/mastodon/blob/main/config/database.yml#L3
Right now it's using
RAILS_MAX_THREADS
but it should useSIDEKIQ_CONCURRENCY
in the worker process since these values often do not align (e.g. we're using 2 and 25 in production, respectively).See: https://github.com/mastodon/mastodon/pull/26488