Skip to content

Commit 918b716

Browse files
fix(sdk): Remove higher envelope serialization limits (#104118)
Revert commit 095fb6c, so databag serialization limits are no longer patched.
1 parent 754f82b commit 918b716

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/sentry/utils/sdk.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
from typing import TYPE_CHECKING, Any, NamedTuple
1010

1111
import sentry_sdk
12-
import sentry_sdk.serializer
1312
from django.conf import settings
1413
from django.db.utils import OperationalError
1514
from rest_framework.request import Request
@@ -476,9 +475,6 @@ def flush(
476475
from sentry_sdk.integrations.redis import RedisIntegration
477476
from sentry_sdk.integrations.threading import ThreadingIntegration
478477

479-
sentry_sdk.serializer.MAX_DATABAG_DEPTH = 100
480-
sentry_sdk.serializer.MAX_DATABAG_BREADTH = 100
481-
482478
sentry_sdk.init(
483479
# set back the sentry4sentry_dsn popped above since we need a default dsn on the client
484480
# for dynamic sampling context public_key population

0 commit comments

Comments
 (0)