From 87f14e8588b7f73a28ad61c183d17176913561f7 Mon Sep 17 00:00:00 2001 From: e1732a364fed <75717694+e1732a364fed@users.noreply.github.com> Date: Thu, 1 Jan 2099 00:00:00 +0000 Subject: [PATCH] minor edit --- resource/local.lua | 4 ++-- rucimp/src/map/tcp_ip_stack_smoltcp/mod.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/resource/local.lua b/resource/local.lua index 31f2036..ece4f6b 100644 --- a/resource/local.lua +++ b/resource/local.lua @@ -653,7 +653,7 @@ local config_16_tun = { } ----[[ +--[[ local config_17_tcp_ip_stack = { inbounds = { @@ -844,7 +844,7 @@ local config_22_lua_example2 = { } -Config = config_17_tcp_ip_stack +Config = config_20_spe1 -- local str = Load_file("test.crt") -- load file from the default file provider from ruci ( from either tar or folder) -- print("content of crt is:", str) diff --git a/rucimp/src/map/tcp_ip_stack_smoltcp/mod.rs b/rucimp/src/map/tcp_ip_stack_smoltcp/mod.rs index 4952f99..e39731f 100644 --- a/rucimp/src/map/tcp_ip_stack_smoltcp/mod.rs +++ b/rucimp/src/map/tcp_ip_stack_smoltcp/mod.rs @@ -55,7 +55,7 @@ impl Map for Stack { mut udp_rx, } = device::create(cid, base_conn, new_stream_tx); - let mut interval = tokio::time::interval(Duration::from_secs(2)); + let mut interval = tokio::time::interval(Duration::from_secs(20)); loop { tokio::select! {