Skip to content

Commit

Permalink
Fix cache error self hosted (#2722)
Browse files Browse the repository at this point in the history
* fix cache error self hosted
  • Loading branch information
hubertdeng123 committed Jan 18, 2024
1 parent 800e6f5 commit 9936376
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions sentry/sentry.conf.example.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,10 @@ def get_internal_network():

CACHES = {
"default": {
"BACKEND": "django.core.cache.backends.memcached.MemcachedCache",
"BACKEND": "django.core.cache.backends.memcached.PyMemcacheCache",
"LOCATION": ["memcached:11211"],
"TIMEOUT": 3600,
"OPTIONS": {
"server_max_value_length": unit_text_to_bytes(env("SENTRY_MAX_EXTERNAL_SOURCEMAP_SIZE", "1M")),
},
"OPTIONS": {"ignore_exc": True}
}
}

Expand Down

0 comments on commit 9936376

Please sign in to comment.