Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/main/java/com/corundumstudio/socketio/Configuration.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ public class Configuration {

private List<Transport> transports = Arrays.asList(Transport.WEBSOCKET, Transport.POLLING);

private int bossThreads = 0; // 0 = current_processors_amount * 2
private int workerThreads = 0; // 0 = current_processors_amount * 2
private int bossThreads; // 0 = current_processors_amount * 2
private int workerThreads; // 0 = current_processors_amount * 2
private boolean useLinuxNativeEpoll;

private boolean allowCustomRequests = false;
private boolean allowCustomRequests;

private int upgradeTimeout = 10000;
private int pingTimeout = 60000;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/corundumstudio/socketio/SocketConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ public class SocketConfig {

private int tcpReceiveBufferSize = -1;

private boolean tcpKeepAlive = false;
private boolean tcpKeepAlive;

private int soLinger = -1;

private boolean reuseAddress = false;
private boolean reuseAddress;

private int acceptBackLog = 1024;

Expand Down