Skip to content

Commit 20773ad

Browse files
authored
feat(taskworker) Check 2% of tasks for pickle (#91624)
With all the known tasks fixed, increase the sample rate to try and find more tasks using pickle.
1 parent 65b6547 commit 20773ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sentry/conf/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ def SOCIAL_AUTH_DEFAULT_USERNAME() -> str:
735735
# Complain about bad use of pickle. See sentry.celery.SentryTask.apply_async for how
736736
# this works.
737737
CELERY_COMPLAIN_ABOUT_BAD_USE_OF_PICKLE = False
738-
CELERY_PICKLE_ERROR_REPORT_SAMPLE_RATE = 0.01
738+
CELERY_PICKLE_ERROR_REPORT_SAMPLE_RATE = 0.02
739739

740740
# We use the old task protocol because during benchmarking we noticed that it's faster
741741
# than the new protocol. If we ever need to bump this it should be fine, there were no

0 commit comments

Comments
 (0)