diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-06-07 10:46:21 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-06-07 10:46:21 +0200 |
commit | b0ffd6ad9412d3b82cd2e526879b57645d0fe523 (patch) | |
tree | 0401bb8fb097088a3b51ba7be1d6e9daf63f2b47 /source | |
parent | Snow drops snowballs only when mined with a shovel (diff) | |
download | cuberite-b0ffd6ad9412d3b82cd2e526879b57645d0fe523.tar cuberite-b0ffd6ad9412d3b82cd2e526879b57645d0fe523.tar.gz cuberite-b0ffd6ad9412d3b82cd2e526879b57645d0fe523.tar.bz2 cuberite-b0ffd6ad9412d3b82cd2e526879b57645d0fe523.tar.lz cuberite-b0ffd6ad9412d3b82cd2e526879b57645d0fe523.tar.xz cuberite-b0ffd6ad9412d3b82cd2e526879b57645d0fe523.tar.zst cuberite-b0ffd6ad9412d3b82cd2e526879b57645d0fe523.zip |
Diffstat (limited to '')
-rw-r--r-- | source/cClientHandle.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/source/cClientHandle.cpp b/source/cClientHandle.cpp index 4f0d14988..e6f4d3a82 100644 --- a/source/cClientHandle.cpp +++ b/source/cClientHandle.cpp @@ -77,8 +77,14 @@ case 2: (z)-=(amount); break; case 3: (z)+=(amount); break;\
case 4: (x)-=(amount); break; case 5: (x)+=(amount); break; }
+
+
+
+
+// TODO: Temporarily set to higher value, the advances in blockticking made this a needed change until a better solution is implemented.
+// Ref.: http://forum.mc-server.org/showthread.php?tid=471 )
/// If the number of queued outgoing packets reaches this, the client will be kicked
-#define MAX_OUTGOING_PACKETS 2000
+#define MAX_OUTGOING_PACKETS 10000
|