Update src/server/lua_engine.rs

This commit is contained in:
Григорий Сафронов 2026-01-20 21:39:57 +00:00
parent 12364a7edd
commit e2ab9cfe8c

View File

@ -36,7 +36,7 @@ use crate::server::database::{Trigger, TriggerEvent, Index, IndexType};
/// с интеграцией в систему Futriix
#[derive(Clone)]
pub struct LuaEngine {
lua: Arc<Lua>,
lua: Arc<Lua>, // Потокобезопасный Lua контекст
}
impl LuaEngine {
@ -711,4 +711,4 @@ impl LuaEngine {
crate::server::log_to_file("Lua cache cleared (engine would be recreated if needed)");
Ok(())
}
}
}