mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-25 04:33:05 +00:00
remove unused pingqueue
This commit is contained in:
@@ -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)
|
|
||||||
Reference in New Issue
Block a user