Skip to content

Commit

Permalink
refactored Google Cloud BigQuery dependent code to fit.py; the rest r…
Browse files Browse the repository at this point in the history
…emains in main.py. Added Postman tests for both.
  • Loading branch information
Hil Liao authored and hilliao committed Feb 12, 2019
1 parent 40b1a31 commit f0ef2d2
Show file tree
Hide file tree
Showing 4 changed files with 1,033 additions and 832 deletions.
3 changes: 2 additions & 1 deletion app.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
runtime: python
env: flex
entrypoint: gunicorn --timeout 3600 --workers 4 --threads 12 -b :$PORT main:app
# --threads 48 fails with ERROR: (gcloud.app.deploy) Error Response: [13] An internal error occurred during deployment. You may need to delete this version manually.
entrypoint: gunicorn --timeout 3600 --workers 8 --threads 10 -b :$PORT fit:app

runtime_config:
python_version: 2
Expand Down
Loading

0 comments on commit f0ef2d2

Please sign in to comment.