mirror of
https://github.com/wiremod/advdupe2.git
synced 2025-03-04 03:03:05 -05:00
Make netstream timeout 30. Gmod apparently struggles sending 20kb in under 10s sometimes (#474)
This commit is contained in:
parent
b9984fcea1
commit
282f7607ac
@ -4,7 +4,7 @@ AddCSLuaFile()
|
|||||||
|
|
||||||
net.Stream = {}
|
net.Stream = {}
|
||||||
net.Stream.SendSize = 20000 --This is the size of each packet to send
|
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.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.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
|
net.Stream.MaxChunks = 3200 --Maximum number of pieces the stream can send to the server. 64 MB
|
||||||
|
Loading…
Reference in New Issue
Block a user