perf: avoid slow Docker live lane cleanup

This commit is contained in:
Peter Steinberger
2026-04-24 18:08:58 +01:00
parent cc57d56b92
commit 560b04d4c6
6 changed files with 3 additions and 20 deletions

View File

@@ -137,10 +137,6 @@ if [ "${OPENCLAW_DOCKER_AUTH_PRESTAGED:-0}" != "1" ]; then
fi
fi
tmp_dir="$(mktemp -d)"
cleanup() {
rm -rf "$tmp_dir"
}
trap cleanup EXIT
source /src/scripts/lib/live-docker-stage.sh
openclaw_live_stage_source_tree "$tmp_dir"
mkdir -p "$tmp_dir/node_modules"