mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 03:53:09 +00:00
gate support TCP_NODELAY
This commit is contained in:
@@ -12,6 +12,7 @@ skynet.start(function()
|
||||
port = 8888,
|
||||
maxclient = max_client,
|
||||
})
|
||||
print("Watchdog listen on ", 8888)
|
||||
|
||||
skynet.exit()
|
||||
end)
|
||||
|
||||
@@ -34,6 +34,7 @@ end
|
||||
|
||||
function CMD.start(conf)
|
||||
skynet.call(gate, "lua", "open" , conf)
|
||||
skynet.call(gate, "lua", "nodelay", true)
|
||||
end
|
||||
|
||||
skynet.start(function()
|
||||
|
||||
Reference in New Issue
Block a user