kopia lustrzana https://github.com/snarfed/bridgy-fed
rodzic
af769de99e
commit
a2b9096b19
4
app.yaml
4
app.yaml
|
@ -8,14 +8,14 @@ runtime: python39
|
||||||
|
|
||||||
# https://cloud.google.com/appengine/docs/standard/python3/runtime#entrypoint_best_practices
|
# https://cloud.google.com/appengine/docs/standard/python3/runtime#entrypoint_best_practices
|
||||||
# https://docs.gunicorn.org/en/latest/settings.html#timeout
|
# https://docs.gunicorn.org/en/latest/settings.html#timeout
|
||||||
entrypoint: gunicorn --workers 1 --threads 10 --timeout 60 -b :$PORT app:app
|
entrypoint: gunicorn --workers 1 --threads 30 --timeout 60 -b :$PORT app:app
|
||||||
|
|
||||||
# background: https://github.com/snarfed/bridgy/issues/578
|
# background: https://github.com/snarfed/bridgy/issues/578
|
||||||
# https://github.com/snarfed/bridgy/issues/1051
|
# https://github.com/snarfed/bridgy/issues/1051
|
||||||
automatic_scaling:
|
automatic_scaling:
|
||||||
max_idle_instances: 1
|
max_idle_instances: 1
|
||||||
target_cpu_utilization: .9
|
target_cpu_utilization: .9
|
||||||
min_pending_latency: 3000ms
|
min_pending_latency: 500ms
|
||||||
max_concurrent_requests: 30
|
max_concurrent_requests: 30
|
||||||
|
|
||||||
inbound_services:
|
inbound_services:
|
||||||
|
|
Ładowanie…
Reference in New Issue