Skip to content

Commit

Permalink
Tweak Fly.io database/HTTP connection limits
Browse files Browse the repository at this point in the history
  • Loading branch information
kylewlacy committed Jun 10, 2024
1 parent d45d8f1 commit ce7a533
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions fly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ primary_region = "sea"

[env]
BRIOCHE_REGISTRY_PROXY_LAYERS = "1"
BRIOCHE_REGISTRY_DATABASE_MAX_CONNECTIONS = "30"
LOG_FORMAT = "json"

[http_service]
Expand All @@ -17,8 +18,8 @@ processes = ["app"]

[http_service.concurrency]
type = "requests"
hard_limit = 1000
soft_limit = 500
hard_limit = 500
soft_limit = 30

[[vm]]
memory = "2gb"
Expand Down

0 comments on commit ce7a533

Please sign in to comment.