branch-2.1: [fix](ForkJoinPool) we should not new a thread pool every call #44891 (#44940)

Cherry-picked from #44891
This commit is contained in:
github-actions[bot]
2024-12-04 11:23:56 +08:00
committed by GitHub
parent e10f1e9889
commit bbd0dcb26e

View File

@ -65,7 +65,7 @@ public class TabletHealthProcDir implements ProcDirInterface {
private Env env;
private ForkJoinPool taskPool = new ForkJoinPool();
private static ForkJoinPool taskPool = new ForkJoinPool();
public TabletHealthProcDir(Env env) {
Preconditions.checkNotNull(env);