Skip to content

Commit d85150f

Browse files
committed
Fix #8: Set defaults for ipfs_use_badger
1 parent 23d1439 commit d85150f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

group_vars/ipfs.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,4 @@ ipfs_storage_max: 10G
66
ipfs_bloom_filter_size: 1048576 # 1MB
77
ipfs_api_listen: /ip4/127.0.0.1/tcp/5001
88
ipfs_fd_max: 4092
9-
10-
9+
ipfs_use_badger: false

roles/ipfs/templates/home/ipfs/ipfs_default_config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"BloomFilterSize": {{ ipfs_bloom_filter_size }},
6262
"GCPeriod": "1h",
6363
"HashOnRead": false,
64-
{% if ipfs_use_badger %}
64+
{% if ipfs_use_badger | default(False) %}
6565
"Spec": {
6666
"child": {
6767
"path": "badgerds",

0 commit comments

Comments
 (0)