Skip to content

Commit f344c2d

Browse files
committed
do not cache looks_like_asgi3
1 parent e297728 commit f344c2d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

sentry_sdk/integrations/asgi.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import asyncio
88
import inspect
99
from copy import deepcopy
10-
from functools import lru_cache, partial
10+
from functools import partial
1111

1212
import sentry_sdk
1313
from sentry_sdk.api import continue_trace
@@ -66,7 +66,6 @@ def _capture_exception(exc, mechanism_type="asgi"):
6666
sentry_sdk.capture_event(event, hint=hint)
6767

6868

69-
@lru_cache(maxsize=5)
7069
def _looks_like_asgi3(app):
7170
# type: (Any) -> bool
7271
"""

0 commit comments

Comments
 (0)