mirror of
https://gitlab.com/Monsterovich/lanemu.git
synced 2024-07-07 06:01:16 +02:00
sendBuffersize 10 -> 100
This commit is contained in:
parent
cda8fd684b
commit
007c51c96b
|
@ -100,7 +100,7 @@ public class Main {
|
|||
" Lines starting with the '#' symbol are ignored.",
|
||||
" --syncPeerBlacklist When the blocked peers file is modified, re-read the file and update the list of blocked peers.",
|
||||
" This option is useless without the specified file in the 'peerBlacklist' option.",
|
||||
" --sendBufferSize The packet queue size for sending. The default is 10.",
|
||||
" --sendBufferSize The packet queue size for sending. The default is 100.",
|
||||
" --tcpFlush Flush the output stream of the connection after sending each packet.",
|
||||
" --uploadLimit Maximum upload speed in kb/s. A zero value disables the limit.",
|
||||
" --downloadLimit Maximum download speed in kb/s. A zero value disables the limit.",
|
||||
|
|
|
@ -238,9 +238,6 @@
|
|||
<Properties>
|
||||
<Property name="text" type="java.lang.String" value="Theme"/>
|
||||
</Properties>
|
||||
<AccessibilityProperties>
|
||||
<Property name="AccessibleContext.accessibleName" type="java.lang.String" value="Theme"/>
|
||||
</AccessibilityProperties>
|
||||
</Component>
|
||||
<Component class="javax.swing.JComboBox" name="cbbTheme">
|
||||
<Properties>
|
||||
|
@ -433,7 +430,7 @@
|
|||
<Component class="javax.swing.JSpinner" name="spnBufferSize">
|
||||
<Properties>
|
||||
<Property name="model" type="javax.swing.SpinnerModel" editor="org.netbeans.modules.form.editors2.SpinnerModelEditor">
|
||||
<SpinnerModel initial="10" maximum="500" minimum="1" numberType="java.lang.Integer" stepSize="1" type="number"/>
|
||||
<SpinnerModel initial="100" maximum="10000" minimum="1" numberType="java.lang.Integer" stepSize="1" type="number"/>
|
||||
</Property>
|
||||
</Properties>
|
||||
</Component>
|
||||
|
|
|
@ -211,8 +211,6 @@ public class OptionWindow extends javax.swing.JDialog {
|
|||
.addContainerGap(276, Short.MAX_VALUE))
|
||||
);
|
||||
|
||||
jLabel12.getAccessibleContext().setAccessibleName("Theme");
|
||||
|
||||
jTabbedPane1.addTab("UI", jPanel4);
|
||||
|
||||
jLabel3.setText("VPN IP");
|
||||
|
@ -283,7 +281,7 @@ public class OptionWindow extends javax.swing.JDialog {
|
|||
|
||||
jLabel8.setText("Send buffer size");
|
||||
|
||||
spnBufferSize.setModel(new javax.swing.SpinnerNumberModel(10, 1, 500, 1));
|
||||
spnBufferSize.setModel(new javax.swing.SpinnerNumberModel(100, 1, 10000, 1));
|
||||
|
||||
jLabel9.setText("packets");
|
||||
|
||||
|
|
|
@ -47,7 +47,7 @@ public class TCPConnection implements Runnable {
|
|||
private static final double BUCKET_TIME = 0.5;
|
||||
private static final int BUCKET_LEN = 10;
|
||||
|
||||
public static final int DEFAULT_MAX_QUEUE = 10;
|
||||
public static final int DEFAULT_MAX_QUEUE = 100;
|
||||
public static final boolean DEFAULT_TCP_FLUSH = false;
|
||||
|
||||
private static final int MAX_PACKET_SIZE = 10 * 1024;
|
||||
|
|
|
@ -155,7 +155,7 @@ public class ProfileManager {
|
|||
props.setProperty(defaultName + '.' + "popupChat", "1");
|
||||
props.setProperty(defaultName + '.' + "sendLimit", "0.0");
|
||||
props.setProperty(defaultName + '.' + "recLimit", "0.0");
|
||||
props.setProperty(defaultName + '.' + "sendBufferSize", "10");
|
||||
props.setProperty(defaultName + '.' + "sendBufferSize", "100");
|
||||
props.setProperty(defaultName + '.' + "tcpFlush", "0");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue