Skip to content

Commit 98aec9b

Browse files
committed
revert sampling frequency
1 parent a85382c commit 98aec9b

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

sentry_sdk/profiler/continuous_profiler.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@
99
from sentry_sdk.consts import VERSION
1010
from sentry_sdk.envelope import Envelope
1111
from sentry_sdk._lru_cache import LRUCache
12-
from sentry_sdk.profiler.utils import extract_stack
12+
from sentry_sdk.profiler.utils import (
13+
DEFAULT_SAMPLING_FREQUENCY,
14+
extract_stack,
15+
)
1316
from sentry_sdk.utils import (
1417
capture_internal_exception,
1518
is_gevent,
@@ -49,11 +52,6 @@
4952
)
5053

5154

52-
# The default sampling frequency to use. This is set at 21 in order to
53-
# mitigate the effects of lockstep sampling.
54-
DEFAULT_SAMPLING_FREQUENCY = 21
55-
56-
5755
try:
5856
from gevent.monkey import get_original
5957
from gevent.threadpool import ThreadPool as _ThreadPool

0 commit comments

Comments
 (0)