Skip to content

Commit

Permalink
Merge pull request #255 from norcalipa/norcalipa/fix-pool-revert
Browse files Browse the repository at this point in the history
Small tweaks to db pool and redis
  • Loading branch information
norcalipa authored Nov 16, 2024
2 parents a5c1a49 + 7056f59 commit 44d186a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crank/settings/prod.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'ENGINE': 'dj_db_conn_pool.backends.mysql',
'NAME': os.environ.get('DB_NAME'),
'HOST': os.environ.get('DB_HOST'),
'PORT': os.environ.get('DB_PORT'),
Expand Down
4 changes: 2 additions & 2 deletions k8s/redis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ spec:
memory: "256Mi"
cpu: "250m"
limits:
memory: "512Mi"
memory: "256Mi"
cpu: "500m"
---
apiVersion: apps/v1
Expand Down Expand Up @@ -105,5 +105,5 @@ spec:
memory: "256Mi"
cpu: "250m"
limits:
memory: "512Mi"
memory: "256Mi"
cpu: "500m"

0 comments on commit 44d186a

Please sign in to comment.