Skip to content

Commit

Permalink
Fix python3.12 profiling
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeauchesne committed Aug 26, 2024
1 parent d78c86c commit a523e38
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions utils/_context/containers.py
Original file line number Diff line number Diff line change
Expand Up @@ -685,10 +685,6 @@ def configure(self, replay):
else:
self.appsec_rules_file = (self.image.env | self.environment).get("DD_APPSEC_RULES", None)

if self.weblog_variant == "python3.12":
if self.library < "[email protected]": # profiling causes a seg fault on 2.0.0
self.environment["DD_PROFILING_ENABLED"] = "false"

def post_start(self):
from utils import weblog

Expand Down

0 comments on commit a523e38

Please sign in to comment.