remove unused pingqueue

This commit is contained in:
Cloud Wu
2014-05-13 17:00:43 +08:00
parent 02f2f88b6d
commit b397c70c34

View File

@@ -1,12 +0,0 @@
local skynet = require "skynet"
local mqueue = require "mqueue"
skynet.start(function()
local id = 0
local pingserver = skynet.newservice "pingserver"
mqueue.register(function(str)
id = id + 1
str = string.format("id = %d , %s",id, str)
return skynet.call(pingserver, "lua", "PING", str)
end)
end)