Skip to content

Commit

Permalink
Update cache settings
Browse files Browse the repository at this point in the history
  • Loading branch information
mmd-mostafaee committed Oct 27, 2024
1 parent af9c39b commit 0541e17
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions brightIDfaucet/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ def str2bool(v):
MEMCACHED_PASSWORD = os.environ.get("MEMCACHEDCLOUD_PASSWORD")
DEPLOYMENT_ENV = os.environ.get("DEPLOYMENT_ENV")


TELEGRAM_BOT_API_KEY = os.environ.get("TELEGRAM_BOT_API_KEY")
TELEGRAM_BOT_USERNAME = os.environ.get("TELEGRAM_BOT_USERNAME")
TELEGRAM_BOT_API_SECRET = os.environ.get("TELEGRAM_BOT_API_SECRET")
Expand Down Expand Up @@ -203,10 +202,8 @@ def before_send(event, hint):
"default": {
"BACKEND": "django_bmemcached.memcached.BMemcached",
"LOCATION": MEMCACHED_URL.split(","),
"OPTIONS": {
"username": MEMCACHED_USERNAME,
"password": MEMCACHED_PASSWORD,
},
"username": MEMCACHED_USERNAME,
"password": MEMCACHED_PASSWORD,
}
}
else:
Expand Down

0 comments on commit 0541e17

Please sign in to comment.