Skip to content

Commit

Permalink
Nope. Go back to smaller but more machines
Browse files Browse the repository at this point in the history
  • Loading branch information
ujh committed Feb 10, 2025
1 parent 1788cbb commit daf1298
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions fly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ RAILS_MIN_THREADS = "4"
RAILS_SERVE_STATIC_FILES = "enabled"
REDIS_PROVIDER = "REDIS_SIDEKIQ_URL"
SIDEKIQ_CONCURRENCY = "5"
WEB_CONCURRENCY = "3"
WEB_CONCURRENCY = "2"

[processes]
web = "bundle exec puma"
Expand All @@ -40,7 +40,7 @@ processes = ["web"]
force_https = true
auto_stop_machines = "suspend"
auto_start_machines = true
min_machines_running = 3
min_machines_running = 6
[http_service.concurrency]
type = "requests"
soft_limit = 3
Expand All @@ -67,7 +67,7 @@ cpus = 1
processes = ["worker"]

[[vm]]
memory = '2048mb'
memory = '1280mb'
cpu_kind = 'shared'
cpus = 8
cpus = 4
processes = ["web"]

0 comments on commit daf1298

Please sign in to comment.