From fcbb53268148a4e4037e0e44cd623391f7719384 Mon Sep 17 00:00:00 2001 From: "wagmi.x" Date: Mon, 11 Nov 2024 00:05:57 +0800 Subject: [PATCH] feat: update dht config --- bin/container_daemon | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/container_daemon b/bin/container_daemon index 3959d78119a..66317fb4fec 100755 --- a/bin/container_daemon +++ b/bin/container_daemon @@ -21,8 +21,9 @@ if [ -e "$repo/config" ]; then # migrate if needed echo "Checking for migration..." - export IPFS_FS_MIGRATION_11_TO_12_NWORKERS=1 + export IPFS_FS_MIGRATION_11_TO_12_NWORKERS=10 ipfs repo migrate + ipfs config --json Routing.AcceleratedDHTClient true else ipfs init ${IPFS_PROFILE:+"--profile=$IPFS_PROFILE"} ipfs config Addresses.API /ip4/0.0.0.0/tcp/5001