mirror of
https://github.com/chocolate-doom/master-server.git
synced 2024-11-21 12:01:13 +00:00
Increase maximum packet size for receive.
master.chocolate-doom.org was serving 500s because the server list had grown too long.
This commit is contained in:
parent
65704ad398
commit
47da0dbd89
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue