From 47da0dbd8922c9787d030321a8c34e30d21ff28b Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Thu, 21 Jan 2016 05:07:52 +0000 Subject: [PATCH] Increase maximum packet size for receive. master.chocolate-doom.org was serving 500s because the server list had grown too long. --- web/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/index.py b/web/index.py index f7105a5..902928f 100644 --- a/web/index.py +++ b/web/index.py @@ -103,7 +103,7 @@ def get_metadata(addr_str): r, w, x = select([sock], [], [], METADATA_GATHER_TIME) if sock in r: - packet, remote_addr = sock.recvfrom(1024) + packet, remote_addr = sock.recvfrom(4096) servers += process_metadata_response(packet)