diff options
-rw-r--r-- | server-beta/src/pub/brave.lua | 2 | ||||
-rw-r--r-- | server-beta/src/pub/client.lua | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/server-beta/src/pub/brave.lua b/server-beta/src/pub/brave.lua index 1102e8a3..9ee3dba4 100644 --- a/server-beta/src/pub/brave.lua +++ b/server-beta/src/pub/brave.lua @@ -1,5 +1,4 @@ local thread = require 'bee.thread' -local work = require 'work' ---@class pub_brave local m = {} @@ -11,7 +10,6 @@ function m.register(id) m.taskpad = thread.channel('taskpad' .. id) m.waiter = thread.channel('waiter' .. id) m.id = id - work.init() m.start() end diff --git a/server-beta/src/pub/client.lua b/server-beta/src/pub/client.lua index 2aec2593..c08068ba 100644 --- a/server-beta/src/pub/client.lua +++ b/server-beta/src/pub/client.lua @@ -9,7 +9,8 @@ local braveTemplate = [[ package.path = %q package.cpath = %q ---log = require 'work.log' +log = require 'work.log' +require 'work' local brave = require 'pub.brave' brave.register(%d) |