1
0

(Temporary) hotfix for the "too many packets" error - set the packet limit 5x higher.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@565 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
madmaxoft@gmail.com 2012-06-07 08:46:21 +00:00
parent 9b28ca6577
commit b0ffd6ad94

View File

@ -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