Skip to content

Commit bd47f45

Browse files
committed
Switching to fixed thread pool
1 parent cb85661 commit bd47f45

File tree

1 file changed

+1
-1
lines changed
  • app/save-and-restore/util/src/main/java/org/phoebus/saveandrestore/util

1 file changed

+1
-1
lines changed

app/save-and-restore/util/src/main/java/org/phoebus/saveandrestore/util/SnapshotUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public class SnapshotUtil {
4343

4444
private final int connectionTimeout = Preferences.connectionTimeout;
4545

46-
private final ExecutorService executorService = Executors.newCachedThreadPool();
46+
private final ExecutorService executorService = Executors.newFixedThreadPool(10);
4747

4848
public SnapshotUtil() {
4949
final File site_settings = new File("settings.ini");

0 commit comments

Comments
 (0)