|
@@ -69,6 +69,7 @@ skynet.start(function()
|
|
|
local http_balance = 1
|
|
|
local id = socket.listen("0.0.0.0",runconfig.httpProt )
|
|
|
socket.start(id , function(id, addr)
|
|
|
+ skynet.socket.limit(id, 2 * 1024 * 1024)
|
|
|
skynet.send(httpworks[http_balance], "lua", id,addr)
|
|
|
http_balance = http_balance + 1
|
|
|
if http_balance > #httpworks then
|