Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
lbarrios committed Sep 5, 2024
1 parent f5698fb commit 1928dad
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
*/
package org.mule.runtime.tracer.common.watcher;

import static java.nio.file.StandardWatchEventKinds.ENTRY_DELETE;
import static java.nio.file.StandardWatchEventKinds.ENTRY_MODIFY;
import static org.mule.runtime.tracer.exporter.config.api.OpenTelemetrySpanExporterConfigurationProperties.MULE_OPEN_TELEMETRY_EXPORTER_CONFIGURATION_WATCHER_DEFAULT_DELAY_PROPERTY;

Expand Down Expand Up @@ -38,7 +39,7 @@ public class TracingConfigurationFileWatcher extends Thread {
protected long delay = DEFAULT_DELAY;

public TracingConfigurationFileWatcher(String filename, Runnable doOnChange) {
super("FileSpanExporterConfigurationWatcher");
super("TracingConfigurationFileWatcher");
this.file = new File(filename);
this.doOnChange = doOnChange;

Expand Down Expand Up @@ -66,6 +67,7 @@ protected void checkAndConfigure() throws InterruptedException {
}
}
}

key.reset();
}

Expand Down

0 comments on commit 1928dad

Please sign in to comment.