Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Use default of 0 for SENTRY_SAMPLE_RATE (#4759)

sarayourfriend431d0d709edb
diff --git a/api/conf/settings/sentry.py b/api/conf/settings/sentry.py
index cf109fbc1..dfaf7db7c 100644
--- a/api/conf/settings/sentry.py
+++ b/api/conf/settings/sentry.py
@@ -8,7 +8,7 @@ from conf.settings.base import ENVIRONMENT
SENTRY_DSN = config("SENTRY_DSN", default="")
-SENTRY_SAMPLE_RATE = config("SENTRY_SAMPLE_RATE", default=1.0, cast=float)
+SENTRY_SAMPLE_RATE = config("SENTRY_SAMPLE_RATE", default=0, cast=float)
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = config("DJANGO_DEBUG_ENABLED", default=False, cast=bool)