Skip to content
This repository has been archived by the owner on Oct 27, 2023. It is now read-only.

Commit

Permalink
Add gunicorn debug
Browse files Browse the repository at this point in the history
  • Loading branch information
atuchin-m committed Oct 25, 2023
1 parent ef6fe95 commit 230a628
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dashboard/api.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
service: api

runtime: python38
entrypoint: gunicorn -b:$PORT dashboard.dispatcher:APP --worker-class gthread --threads 5 --timeout 120
entrypoint: gunicorn -b:$PORT dashboard.dispatcher:APP -w 4 --timeout 60 --log-level debug --access-logfile '-' --log-file '-'
app_engine_apis: true
# 2048MB Memory, 2.4GHz CPU limit, support auto scaling.
instance_class: F4_1G
instance_class: F2

automatic_scaling:
# We're setting the max concurrent request to 20, to allow AppEngine to scale
Expand Down

0 comments on commit 230a628

Please sign in to comment.