summaryrefslogtreecommitdiff
path: root/src/modules/debug_shell.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/debug_shell.lua')
-rw-r--r--src/modules/debug_shell.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/debug_shell.lua b/src/modules/debug_shell.lua
index 318c539..85ea4b6 100644
--- a/src/modules/debug_shell.lua
+++ b/src/modules/debug_shell.lua
@@ -41,7 +41,7 @@ debug_shell.next_id = 0
-- create new instance of debug shell module class
function debug_shell:new(config, runtype)
local inst = {}
- inst.class = self.properties.name
+ inst.class = self
inst.config = config
if(config.name == nil or config.name == "") then
inst.name = self.properties.name .. self.next_id
@@ -241,7 +241,7 @@ function debug_shell:exec_cmd(socket)
if(not param or param == '') then socket.out_buffer = socket.out_buffer .. "Error: please specify a command\n"
else
socket.out_buffer = socket.out_buffer .. "enqueing command: " .. param .. "\n"
- command_queue:enqueue(param, "ok\n", 10000)
+ command_queue:enqueue(param, "ok\n", 2500)
end
else
socket.out_buffer = socket.out_buffer .. "unknown command\n"