瀏覽代碼

tweak scale/concurrency, again

Rodja Trappe 1 年之前
父節點
當前提交
8440551cab
共有 2 個文件被更改,包括 5 次插入5 次删除
  1. 2 2
      fly.toml
  2. 3 3
      set_scale.sh

+ 2 - 2
fly.toml

@@ -38,8 +38,8 @@ kill_timeout = "5s"
     handlers = ["tls", "http"]
   [services.concurrency]
     type = "requests"
-    hard_limit = 60
-    soft_limit = 40
+    hard_limit = 120
+    soft_limit = 50
 
   [[services.tcp_checks]]
     interval = "10s"

+ 3 - 3
set_scale.sh

@@ -6,8 +6,8 @@ fly scale count app=1  --region lax -y # Los Angeles, California (US)
 fly scale count app=1  --region mia -y # Miami, Florida (US)
 fly scale count app=1  --region sea -y # Seattle, Washington (US)
 
-fly scale count app=1  --region fra -y # Frankfurt, Germany
-fly scale count app=1  --region ams -y # Amsterdam, Netherlands
+fly scale count app=2  --region fra -y # Frankfurt, Germany
+fly scale count app=2  --region ams -y # Amsterdam, Netherlands
 fly scale count app=1  --region mad -y # Madrid, Spain
 fly scale count app=1  --region cdg -y # Paris, France
 fly scale count app=1  --region lhr -y # London, England (UK)
@@ -18,7 +18,7 @@ fly scale count app=1  --region jnb -y # Johannesburg, South Africa
 fly scale count app=1  --region bom -y # Mumbai, India
 fly scale count app=1  --region nrt -y # Tokyo, Japan
 fly scale count app=1  --region sin -y # Singapor
-fly scale count app=1  --region hkg -y # Hong Kong
+fly scale count app=3  --region hkg -y # Hong Kong
 
 fly scale count app=1  --region syd -y # Sydney, Australia