aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorolamedia <[email protected]>2012-09-28 19:15:45 +0600
committerolamedia <[email protected]>2012-09-28 19:15:45 +0600
commit22a02f099f05bf19a1a6e02879b8111d01d4f358 (patch)
treea1fc4904ad2284fbee8943abba2e63a1a93a6369
parentb4192c7a88bad111bebbd42d391d6e729c8617d6 (diff)
network buffer 10m
-rw-r--r--src/ru/olamedia/olacraft/network/GameClient.java2
-rw-r--r--src/ru/olamedia/olacraft/network/GameServer.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ru/olamedia/olacraft/network/GameClient.java b/src/ru/olamedia/olacraft/network/GameClient.java
index 669d954..acd50fd 100644
--- a/src/ru/olamedia/olacraft/network/GameClient.java
+++ b/src/ru/olamedia/olacraft/network/GameClient.java
@@ -32,7 +32,7 @@ public class GameClient extends ConnectionStateListener implements IPacketListen
private WorldProvider worldProvider;
private GameScene scene;
- private Client client = new Client(70 * 1024 * 1024, 70 * 1024 * 1024);
+ private Client client = new Client(10 * 1024 * 1024, 10 * 1024 * 1024);
private String hostname = "127.0.0.1";
@Override
diff --git a/src/ru/olamedia/olacraft/network/GameServer.java b/src/ru/olamedia/olacraft/network/GameServer.java
index 67dffc5..3d3832d 100644
--- a/src/ru/olamedia/olacraft/network/GameServer.java
+++ b/src/ru/olamedia/olacraft/network/GameServer.java
@@ -33,7 +33,7 @@ public class GameServer {
private WorldProvider worldProvider;
private ExecutorService threadPool = Executors.newFixedThreadPool(1);
- public static Server server = new Server(70 * 1024 * 1024, 1024 * 1024) {
+ public static Server server = new Server(10 * 1024 * 1024, 1024 * 1024) {
@Override
protected PlayerConnection newConnection() {
// By providing our own connection implementation, we can store per