ipfs.service: adapt lowpower profile & mention badgerds

If the lowpower option uses values 40 and 20 which are a lot higher than
mine were and considered suitable for laptops and smartphones, I guess
they are the best for me to use and I find content faster.
This commit is contained in:
Aminda Suomalainen 2019-04-23 13:51:18 +03:00
parent 7e9a64e76b
commit ce84c26bcd
No known key found for this signature in database
GPG Key ID: 0C207F07B2F32B67

View File

@ -20,10 +20,10 @@ ExecStart=/home/mikaela/go/bin/ipfs daemon --routing=dhtclient --enable-gc --ena
# (which they will still be able to download, see ipfs/go-ipfs#4145)
# ipfs config Swarm.ConnMgr.GracePeriod 1s - to get rid of excess
# connections quickly
# ipfs config --json Swarm.ConnMgr.HighWater 20 - attempt to stay below 20
# connections
# ipfs config --json Swarm.ConnMgr.LowWater 5 - attempt to keep at least 5
# ipfs config --json Swarm.ConnMgr.HighWater 40 - attempt to stay below 40
# connections
# ipfs config --json Swarm.ConnMgr.LowWater 20 - attempt to keep at least
# 20 connections
# ipfs config --json Swarm.EnableAutoRelay true - if impassable NAT is
# detected, connect to the network through relays that have configured
# themselves as open (EnableAutoNATService & EnableRelayHop?)
@ -33,6 +33,8 @@ ExecStart=/home/mikaela/go/bin/ipfs daemon --routing=dhtclient --enable-gc --ena
# ipfs config --json Experimental.FilestoreEnabled true - for ipfs add
# --nocopy to not store the content twice on disc
#
# I am using badger datastore.
#
# Extra: to disable IPv4 connections:
# ipfs swarm filters add /ip4/0.0.0.0/ipcidr/0
# However I think this may do more harm than good, especially if the