Skip to content

Commit 2ad731c

Browse files
committed
ipfs: increase timeout and support dht experimental options
1 parent e761293 commit 2ad731c

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

roles/ipfs/templates/etc/systemd/system/ipfs.service

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Type=notify
77
User=ipfs
88
Group=ipfs
99
StateDirectory=ipfs
10+
TimeoutStartSec=10800
1011
LimitNOFILE={{ ipfs_fd_max }}
1112
MemorySwapMax=0
1213
Environment="IPFS_FD_MAX={{ ipfs_fd_max}}"

roles/ipfs/templates/home/ipfs/ipfs_default_config

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,9 @@
207207
"ShardingEnabled": false,
208208
"StrategicProviding": false,
209209
"UrlstoreEnabled": false,
210-
"GraphsyncEnabled": false
210+
"GraphsyncEnabled": false,
211+
"AcceleratedDHTClient": {{ ipfs_experimental_accelerated_dht_client | default(False) | lower }},
212+
"StrategicProviding": {{ ipfs_experimental_strategic_providing | default(False) | lower }}
211213
},
212214
"Plugins": {
213215
"Plugins": null

0 commit comments

Comments
 (0)