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 749edbc..db7f7dc 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());
        }
 }