Refactor to use LuaJIT and improve performance
Integrate LuaJIT as an optional runtime for better performance, with a fallback to standard Lua 5.4. Update Dockerfile to install LuaJIT and create a wrapper script for execution. Enhance network module with socket fallback support and update README to reflect these changes and configuration options.
This commit is contained in:
@@ -5,13 +5,10 @@
|
||||
-- - Optional Wake-on-LAN is native (no external tools).
|
||||
-- - Optional port-wait is provided but commented out (mirrors original bash idea).
|
||||
|
||||
local socket = require("socket")
|
||||
|
||||
-- Import modules
|
||||
local config = require("config")
|
||||
local utils = require("utils")
|
||||
local network = require("network")
|
||||
local ssh = require("ssh")
|
||||
local ollama_manager = require("ollama_manager")
|
||||
local session_check = require("session_check")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user