Software /
code /
prosody
Comparison
net/server_select.lua @ 3775:f3f2a7810108
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 | 3687:55acf6df9a18 |
child | 4111:4716c7645ad2 |
comparison
equal
deleted
inserted
replaced
3774:9189ed18c3c9 | 3775:f3f2a7810108 |
---|---|
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 |