File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
communication/src/main/java/datadog/communication/monitor
dd-java-agent/agent-jmxfetch/src/main/java/datadog/trace/agent/jmxfetch Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ private void discoverConnectionSettings() {
187187
188188 if (null == host ) {
189189 if (!OperatingSystem .isWindows () && new File (DEFAULT_DOGSTATSD_SOCKET_PATH ).exists ()) {
190- log .info ("Detected {}. Using it to send StatsD data." , DEFAULT_DOGSTATSD_SOCKET_PATH );
190+ log .info ("Detected {}. Using it to send StatsD data." , DEFAULT_DOGSTATSD_SOCKET_PATH );
191191 host = DEFAULT_DOGSTATSD_SOCKET_PATH ;
192192 port = 0 ; // tells dogstatsd client to treat host as a socket path
193193 } else {
Original file line number Diff line number Diff line change @@ -160,6 +160,8 @@ public void run() {
160160 try {
161161 Thread .sleep (DELAY_BETWEEN_RUN_ATTEMPTS );
162162 } catch (final InterruptedException ignore ) {
163+ Thread .currentThread ().interrupt ();
164+ break ;
163165 }
164166 }
165167 }
You can’t perform that action at this time.
0 commit comments