Skip to content

Commit

Permalink
Merge pull request #883 from hackforla/feat-cache-improvements
Browse files Browse the repository at this point in the history
Feat cache improvements
  • Loading branch information
mattyweb authored Dec 21, 2020
2 parents 691e50f + 6763d6f commit a295e3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/api/code/lacity_data_api/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
'cache': RedisCache,
'endpoint': config.CACHE_ENDPOINT,
'port': 6379,
'timeout': 10,
'timeout': None,
'pool_min_size': 5,
'pool_max_size': 20,
'serializer': {
Expand Down
2 changes: 1 addition & 1 deletion server/aws/templates/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
}
},
"entryPoint": ["gunicorn"],
"command": ["lacity_data_api.asgi:app", "-w", "4", "-k", "uvicorn.workers.UvicornWorker", "--log-level", "info", "-b", "0.0.0.0:5000"],
"command": ["lacity_data_api.asgi:app", "-w", "3", "-t", "60", "-k", "uvicorn.workers.UvicornWorker", "--log-level", "info", "-b", "0.0.0.0:5000"],
"secrets": [
{ "name": "DB_DSN", "valueFrom": "/${stage}/${region}/DB_DSN" },
{ "name": "SENTRY_URL", "valueFrom": "/${stage}/${region}/SENTRY_URL" },
Expand Down

0 comments on commit a295e3b

Please sign in to comment.