Skip to content

Commit

Permalink
feat: update dht config
Browse files Browse the repository at this point in the history
  • Loading branch information
x-wagmi committed Nov 10, 2024
1 parent b26415c commit fcbb532
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/container_daemon
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fcbb532

Please sign in to comment.