Comparison

net/server_select.lua @ 3894:22368fbb71dd

net/server_select.lua: Reduce select() timeout back to 1s
author Matthew Wild <mwild1@gmail.com>
date Sat, 18 Dec 2010 14:46:28 +0000
parent 3810:8d2f959b8057
child 4111:4716c7645ad2
comparison
equal deleted inserted replaced
3893:475fc383527d 3894:22368fbb71dd
147 _timerlistlen = 0 -- lenght of timerlist 147 _timerlistlen = 0 -- lenght of timerlist
148 148
149 _sendtraffic = 0 -- some stats 149 _sendtraffic = 0 -- some stats
150 _readtraffic = 0 150 _readtraffic = 0
151 151
152 _selecttimeout = 3600 -- timeout of socket.select 152 _selecttimeout = 1 -- timeout of socket.select
153 _sleeptime = 0 -- time to wait at the end of every loop 153 _sleeptime = 0 -- time to wait at the end of every loop
154 154
155 _maxsendlen = 51000 * 1024 -- max len of send buffer 155 _maxsendlen = 51000 * 1024 -- max len of send buffer
156 _maxreadlen = 25000 * 1024 -- max len of read buffer 156 _maxreadlen = 25000 * 1024 -- max len of read buffer
157 157