Skip to content

Commit 9936376

Browse files
Fix cache error self hosted (#2722)
* fix cache error self hosted
1 parent 800e6f5 commit 9936376

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

sentry/sentry.conf.example.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,10 @@ def get_internal_network():
111111

112112
CACHES = {
113113
"default": {
114-
"BACKEND": "django.core.cache.backends.memcached.MemcachedCache",
114+
"BACKEND": "django.core.cache.backends.memcached.PyMemcacheCache",
115115
"LOCATION": ["memcached:11211"],
116116
"TIMEOUT": 3600,
117-
"OPTIONS": {
118-
"server_max_value_length": unit_text_to_bytes(env("SENTRY_MAX_EXTERNAL_SOURCEMAP_SIZE", "1M")),
119-
},
117+
"OPTIONS": {"ignore_exc": True}
120118
}
121119
}
122120

0 commit comments

Comments
 (0)