Skip to content

Commit

Permalink
Merge branch '3.x-staging' into yunkim/langchain-drop-logs-metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
Yun-Kim authored Feb 4, 2025
2 parents aa79031 + be50fd7 commit 539c908
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 0 additions & 4 deletions ddtrace/internal/remoteconfig/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
from typing import List # noqa:F401

from ddtrace.internal import agent
from ddtrace.internal import atexit
from ddtrace.internal import forksafe
from ddtrace.internal import periodic
from ddtrace.internal.logger import get_logger
Expand Down Expand Up @@ -132,9 +131,6 @@ def disable(self, join=False):
if self.status == ServiceStatus.STOPPED:
return

forksafe.unregister(self.reset_at_fork)
atexit.unregister(self.disable)

self.stop(join=join)

def _stop_service(self, *args, **kwargs):
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
fixes:
- |
logging: Resolves an an unneeded info log being logged on process exit
due to a forksafe hook being unregistered that was never registered to begin with.

0 comments on commit 539c908

Please sign in to comment.