Skip to content

Commit

Permalink
remove print
Browse files Browse the repository at this point in the history
  • Loading branch information
taegyunkim committed Jan 9, 2025
1 parent d28682e commit 96f9128
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ddtrace/profiling/collector/_lock.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ def _acquire(self, inner_func, *args, **kwargs):
finally:
try:
end = self._self_acquired_at = time.monotonic_ns()
print("lock acquired at ", end)
thread_id, thread_name = _current_thread()
task_id, task_name, task_frame = _task.get_task(thread_id)
self._maybe_update_self_name()
Expand Down Expand Up @@ -186,6 +185,7 @@ def _release(self, inner_func, *args, **kwargs):
# _self_acquired_at is only set when the acquire was captured
# if it's not set, we're not capturing the release
start = self.self_acquired_at

try:
return inner_func(*args, **kwargs)
finally:
Expand Down

0 comments on commit 96f9128

Please sign in to comment.