Skip to content

Commit fa4f090

Browse files
committed
fix profiling
1 parent 6fd23fc commit fa4f090

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datadog_lambda/wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ def _before(self, event, context):
292292
else:
293293
set_correlation_ids()
294294
if config.profiling_enabled and profiler and is_new_sandbox():
295-
self.prof.start(stop_on_exit=False, profile_children=True)
295+
self.prof.start()
296296
logger.debug("datadog_lambda_wrapper _before() done")
297297
except Exception as e:
298298
logger.error(format_err_with_traceback(e))

0 commit comments

Comments
 (0)