From f77cc351d078c60e07e9bf7026711d703284f235 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 10 Apr 2026 17:43:06 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=80=20Sync=202026-04-10=2017:43:06?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- luci-app-openclaw/Makefile | 2 +- luci-app-openclaw/root/etc/init.d/openclaw | 12 ++++++------ nexttrace/Makefile | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/luci-app-openclaw/Makefile b/luci-app-openclaw/Makefile index 0da921e54..69172fc57 100644 --- a/luci-app-openclaw/Makefile +++ b/luci-app-openclaw/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-openclaw PKG_VERSION:=$(strip $(shell cat $(CURDIR)/VERSION 2>/dev/null || echo "1.0.0")) -PKG_RELEASE:=12 +PKG_RELEASE:=13 PKG_MAINTAINER:=10000ge10000 <10000ge10000@users.noreply.github.com> PKG_LICENSE:=GPL-3.0 diff --git a/luci-app-openclaw/root/etc/init.d/openclaw b/luci-app-openclaw/root/etc/init.d/openclaw index 95021b4b3..c1531707f 100755 --- a/luci-app-openclaw/root/etc/init.d/openclaw +++ b/luci-app-openclaw/root/etc/init.d/openclaw @@ -462,7 +462,7 @@ _ensure_port_free() { else netstat -tulnp 2>/dev/null | grep -q ":${p} " || return 0 fi - usleep 200000 2>/dev/null || sleep 0.2 + usleep 200000 2>/dev/null || sleep 1 i=$((i + 1)) done @@ -573,7 +573,7 @@ while [ $wait_count -lt $max_wait ]; do else netstat -tulnp 2>/dev/null | grep -q ":${port} " || break fi - usleep 200000 2>/dev/null || sleep 0.2 + usleep 200000 2>/dev/null || sleep 1 wait_count=$((wait_count + 1)) done @@ -588,7 +588,7 @@ if [ $wait_count -ge $max_wait ]; then if [ -n "$port_pid" ]; then kill -9 "$port_pid" 2>/dev/null # 等待内核回收 (缩短到 0.5 秒) - usleep 500000 2>/dev/null || sleep 0.5 + usleep 500000 2>/dev/null || sleep 1 fi fi @@ -620,7 +620,7 @@ procd_add_reload_trigger "openclaw" reload_service() { stop # v2026.3.14: stop_service 已优化等待逻辑,缩短额外等待时间 -usleep 300000 2>/dev/null || sleep 0.3 +usleep 300000 2>/dev/null || sleep 1 start } @@ -664,14 +664,14 @@ while [ $wait_count -lt 10 ]; do else netstat -tulnp 2>/dev/null | grep -q ":${port} " || break fi - usleep 200000 2>/dev/null || sleep 0.2 + usleep 200000 2>/dev/null || sleep 1 wait_count=$((wait_count + 1)) done # 5) 如果端口仍被占用,强制 SIGKILL if [ $wait_count -ge 10 ]; then [ -n "$port_pid" ] && kill -9 "$port_pid" 2>/dev/null - usleep 300000 2>/dev/null || sleep 0.3 + usleep 300000 2>/dev/null || sleep 1 fi # 6) 如果 procd 中没有 gateway 服务注册,调用 start diff --git a/nexttrace/Makefile b/nexttrace/Makefile index 341862318..93f92bd8a 100644 --- a/nexttrace/Makefile +++ b/nexttrace/Makefile @@ -1,8 +1,8 @@ include $(TOPDIR)/rules.mk PKG_NAME:=nexttrace -PKG_VERSION:=1.6.1 -PKG_RELEASE:=2 +PKG_VERSION:=1.6.2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/nxtrace/NTrace-core/tar.gz/v$(PKG_VERSION)?