Skip to content

Commit

Permalink
Merge pull request #19 from UoA-eResearch/dev
Browse files Browse the repository at this point in the history
refactored Google Cloud BigQuery dependent code to fit.py; the rest remains in main.py.
  • Loading branch information
neon-ninja authored Feb 12, 2019
2 parents 4ef17be + f0ef2d2 commit d4fb4e6
Show file tree
Hide file tree
Showing 5 changed files with 1,042 additions and 832 deletions.
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,12 @@ ENV/

client_secret.json
config.py

#VS Code
/.vscode

#secrets
/.secrets

#dev config
app_secret.config
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 d4fb4e6

Please sign in to comment.