Remove manual scope handling with ThreadPoolExecutor
Open
python
Task
- Dominant language
- Python
- Stars
- 44.8k
- Forks
- 4.9k
- Avg merge
- 22h 21m
- Merged PRs (30d)
- 586
Description
Now we merged https://github.com/getsentry/sentry-python/pull/4770 in the Python SDK, code like the snippet below can be simplified. The SDK now automatically forks the relevant scopes when a function is submitted to the executor.
https://github.com/getsentry/sentry/blob/dab07bbef177ec45a663635161d8119cf245130e/src/sentry/utils/snuba.py#L1179-L1195
Contributor guide
Assessment
This issue has not been assessed yet.