refactor: allow too many lines on handle_event

This commit is contained in:
Ryan 2025-02-23 02:00:18 -05:00
parent c959e14f80
commit 85cb2702f4
Signed by: ErrorNoInternet
GPG Key ID: 2486BFB7B1E6A4A3

View File

@ -13,6 +13,7 @@ use log::{debug, error, info, trace};
use mlua::{Function, IntoLuaMulti};
use tokio::net::TcpListener;
#[allow(clippy::too_many_lines)]
pub async fn handle_event(client: Client, event: Event, state: State) -> anyhow::Result<()> {
state.lua.gc_stop();
let globals = state.lua.globals();