From 565933c0ab3cd007e4c031c2a8aee23b4e4e5c4f Mon Sep 17 00:00:00 2001 From: thegrb93 Date: Sat, 10 Aug 2024 16:53:01 -0400 Subject: [PATCH] Make netstream timeout 30. Gmod apparently struggles sending 20kb in under 10s sometimes --- lua/autorun/netstream.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/autorun/netstream.lua b/lua/autorun/netstream.lua index 46ab2df22b..c0bf9b4f74 100644 --- a/lua/autorun/netstream.lua +++ b/lua/autorun/netstream.lua @@ -4,7 +4,7 @@ AddCSLuaFile() net.Stream = {} net.Stream.SendSize = 20000 --This is the size of each packet to send -net.Stream.Timeout = 10 --How long to wait for client response before cleaning up +net.Stream.Timeout = 30 --How long to wait for client response before cleaning up net.Stream.MaxWriteStreams = 1024 --The maximum number of write data items to store net.Stream.MaxReadStreams = 128 --The maximum number of queued read data items to store net.Stream.MaxChunks = 3200 --Maximum number of pieces the stream can send to the server. 64 MB