Skip to content

Commit e761293

Browse files
committed
Add new options for ipfs-cluster on v0.13.3
1 parent 1e106b2 commit e761293

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

roles/ipfs-cluster/templates/service.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"low_water": {{ ipfs_cluster_connection_manager_low_water | default(100) }},
1919
"grace_period": "{{ ipfs_cluster_connection_manager_grace_period | default('2m0s') }}"
2020
},
21+
"dial_peer_timeout": "{{ ipfs_cluster_dial_peer_timeout | default('3s') }}",
2122
"state_sync_interval": "{{ ipfs_cluster_state_sync_interval | default('10m') }}",
2223
"pin_recover_interval": "{{ ipfs_cluster_pin_recover_internval | default('12m') }}",
2324
"ipfs_sync_interval": "{{ ipfs_cluster_ipfs_sync_interval | default('130s') }}",
@@ -70,7 +71,12 @@
7071
{% endfor %}
7172
],
7273
"rebroadcast_interval": "{{ ipfs_cluster_crdt_rebroadcast_interval | default('1m') }}",
73-
"peerset_metric": "{{ ipfs_cluster_crdt_peerset_metric | default('ping') }}"
74+
"peerset_metric": "{{ ipfs_cluster_crdt_peerset_metric | default('ping') }}",
75+
"batching": {
76+
"max_batch_size": {{ ipfs_cluster_crdt_max_batch_size | default(0) }},
77+
"max_batch_age": "{{ ipfs_cluster_crdt_max_batch_age | default('0s') }}",
78+
"max_queue_size": {{ ipfs_cluster_crdt_max_queue_size | default(50000) }}
79+
}
7480
}
7581
{% endif %}
7682
},

0 commit comments

Comments
 (0)