altos-mapd: Make cache service listen queue longer
authorKeith Packard <keithp@keithp.com>
Sun, 7 Oct 2018 04:27:58 +0000 (22:27 -0600)
committerKeith Packard <keithp@keithp.com>
Sun, 7 Oct 2018 04:27:58 +0000 (22:27 -0600)
Just in case the service gets busy, make the listen queue longer.

Signed-off-by: Keith Packard <keithp@keithp.com>
map-server/altos-mapd/AltosMapdServer.java

index 749edbc77e65d54cb86aac9fbe22775c2cb5af19..db7f7dc1e75cfb62929ddd953c5b4af8469d2b1d 100644 (file)
@@ -19,6 +19,6 @@ import java.io.*;
 
 public class AltosMapdServer extends ServerSocket {
        public AltosMapdServer(int port) throws IOException {
-               super(port, 5, InetAddress.getLoopbackAddress());
+               super(port, 256, InetAddress.getLoopbackAddress());
        }
 }