Skip to content

Commit

Permalink
name connection thread
Browse files Browse the repository at this point in the history
  • Loading branch information
christophsturm committed Sep 6, 2019
1 parent 6273a58 commit 4223036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2p/src/main/java/bisq/network/p2p/network/Connection.java
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public static int getPermittedMessageSize() {
private final ConnectionListener connectionListener;
@Getter
private final String uid;
private final ExecutorService singleThreadExecutor = Executors.newSingleThreadExecutor();
private final ExecutorService singleThreadExecutor = Executors.newSingleThreadExecutor(runnable -> new Thread(runnable, "Connection.java executor-service"));
// holder of state shared between InputHandler and Connection
@Getter
private final Statistic statistic;
Expand Down

0 comments on commit 4223036

Please sign in to comment.