Last active
July 24, 2023 21:26
-
-
Save isheraz/cd68033ae37b6bf03578496442647a3b to your computer and use it in GitHub Desktop.
node follower script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"cluster": { | |
"peername": "ipfs-node-02", | |
"secret": "ea87ae0d2a8acc435abd57096a44a73631cf6b64e5fda5ef326487f9a405b2d1", | |
"leave_on_shutdown": false, | |
"listen_multiaddress": [ | |
"/ip4/0.0.0.0/tcp/9096", | |
"/ip4/0.0.0.0/udp/9096/quic" | |
], | |
"follower_mode": true, | |
"enable_relay_hop": true, | |
"connection_manager": { | |
"high_water": 400, | |
"low_water": 100, | |
"grace_period": "2m0s" | |
}, | |
"dial_peer_timeout": "3s", | |
"state_sync_interval": "5m0s", | |
"pin_recover_interval": "12m0s", | |
"replication_factor_min": -1, | |
"replication_factor_max": -1, | |
"monitor_ping_interval": "15s", | |
"peer_watch_interval": "5s", | |
"mdns_interval": "10s", | |
"pin_only_on_trusted_peers": false, | |
"disable_repinning": true, | |
"peer_addresses": [], | |
}, | |
"consensus": { | |
"crdt": { | |
"cluster_name": "follower-ipfs-cluster", | |
"trusted_peers": [ | |
"*" | |
], | |
"batching": { | |
"max_batch_size": 0, | |
"max_batch_age": "0s" | |
}, | |
"repair_interval": "1h0m0s" | |
} | |
}, | |
"ipfs_connector": { | |
"ipfshttp": { | |
"node_multiaddress": "/ip4/0.0.0.0/tcp/5001", | |
"connect_swarms_delay": "30s", | |
"ipfs_request_timeout": "5m0s", | |
"pin_timeout": "2m0s", | |
"unpin_timeout": "3h0m0s", | |
"repogc_timeout": "24h0m0s", | |
"informer_trigger_interval": 0 | |
} | |
}, | |
"pin_tracker": { | |
"stateless": { | |
"concurrent_pins": 10, | |
"priority_pin_max_age": "24h0m0s", | |
"priority_pin_max_retries": 5 | |
} | |
}, | |
"monitor": { | |
"pubsubmon": { | |
"check_interval": "15s" | |
} | |
}, | |
"allocator": { | |
"balanced": { | |
"allocate_by": [ | |
"tag:group", | |
"freespace" | |
] | |
} | |
}, | |
"informer": { | |
"disk": { | |
"metric_ttl": "30s", | |
"metric_type": "freespace" | |
}, | |
"pinqueue": { | |
"metric_ttl": "30s", | |
"weight_bucket_size": 100000 | |
}, | |
"tags": { | |
"metric_ttl": "30s", | |
"tags": { | |
"group": "default" | |
} | |
} | |
}, | |
"observations": { | |
"metrics": { | |
"enable_stats": false, | |
"prometheus_endpoint": "/ip4/0.0.0.0/tcp/8888", | |
"reporting_interval": "2s" | |
}, | |
"tracing": { | |
"enable_tracing": false, | |
"jaeger_agent_endpoint": "/ip4/0.0.0.0/udp/6831", | |
"sampling_prob": 0.3, | |
"service_name": "cluster-daemon" | |
} | |
}, | |
"datastore": { | |
"badger": { | |
"gc_discard_ratio": 0.2, | |
"gc_interval": "15m0s", | |
"gc_sleep": "10s", | |
"badger_options": { | |
"dir": "", | |
"value_dir": "", | |
"sync_writes": true, | |
"table_loading_mode": 2, | |
"value_log_loading_mode": 0, | |
"num_versions_to_keep": 1, | |
"max_table_size": 16777216, | |
"level_size_multiplier": 10, | |
"max_levels": 7, | |
"value_threshold": 32, | |
"num_memtables": 5, | |
"num_level_zero_tables": 5, | |
"num_level_zero_tables_stall": 10, | |
"level_one_size": 268435456, | |
"value_log_file_size": 1073741823, | |
"value_log_max_entries": 1000000, | |
"num_compactors": 2, | |
"compact_l_0_on_close": false, | |
"read_only": false, | |
"truncate": true | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment