Skip to content

Commit

Permalink
[JENKINS-68080] FilePath.actAsync is dangerous and not necessary in…
Browse files Browse the repository at this point in the history
… `FileMonitoringController.watch` (#147)
  • Loading branch information
jglick authored Mar 22, 2022
1 parent 0d250a6 commit 29cd95e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ public FilePath getOutputFile(FilePath workspace) throws IOException, Interrupte
}

@Override public void watch(FilePath workspace, Handler handler, TaskListener listener) throws IOException, InterruptedException, ClassCastException {
workspace.actAsync(new StartWatching(this, handler, listener));
workspace.act(new StartWatching(this, handler, listener));
LOGGER.log(Level.FINE, "started asynchronous watch in {0}", controlDir);
}

Expand Down

0 comments on commit 29cd95e

Please sign in to comment.