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FP9r+vtEHAnclDDKx4AYbomSqgERe+DX6HR/tPHRVizP63RYPf7al2mJmPzt1nTkoc1/q5hQoD+oE154dADsW1pUp7AQjwCtys4iq5S0qAwIDpuY8M8bOHwZ+QmBvHYAigJCowKBgQC3HH6TX/2rH463bE2MARXqXSPGJj45sigwrQfW1xhe9zm1LQtN4mn2mvP5nt1D1l82OA6gIzYSGtX8x10eF5/ggqAf78goZ6bOkHh76b8fNzgvQO97eGt5qYAVRjhP8azU/lfEGMEpE1s5/6LrRe41utwSg0C+YkBnlIKDfQDAgQKBgDoBTCF5hK9H1JHzuKpt5uubuo78ndWWnvyrNYKyEirsJddNwLiWcO2NqChyT8qNGkbQdX/Fex89F5KduPTlTYfAEc6g18xxxgK+UM+uj60vArbf6PSTb5gculcnha2VuPdwvx050Cb8uu9s7/uJfzKB+2f/B0O51ID1H+ubYWsDAoGBAKrwGKHyqFTHSPg3XuRA1FgDAoOsfzP9ZJvMEXUWyu/VxjNt+0mRlyGeZ5qb9UZG+K/In4FbC/ux2P/PucCUIbgy/XGPtPXVavMwNbx0MquAcU0FihKXP0CUpi8zwiYc42MF7n/SztQnismxigBMSuJEDurcXXazjfcSRTypduNn",
|
|
"secret": "84399cd0be811c2ca372d6ca473ffd73c09034f991c5e306fe9ada6c5fcfb641",
|
|
"leave_on_shutdown": false,
|
|
"listen_multiaddress": [
|
|
"/ip4/0.0.0.0/tcp/9096",
|
|
"/ip6/::/tcp/9096"
|
|
],
|
|
"state_sync_interval": "1m0s",
|
|
"replication_factor": -1,
|
|
"monitor_ping_interval": "15s"
|
|
},
|
|
"consensus": {
|
|
"raft": {
|
|
"heartbeat_timeout": "1s",
|
|
"election_timeout": "1s",
|
|
"commit_timeout": "50ms",
|
|
"max_append_entries": 64,
|
|
"trailing_logs": 10240,
|
|
"snapshot_interval": "2m0s",
|
|
"snapshot_threshold": 8192,
|
|
"leader_lease_timeout": "500ms"
|
|
}
|
|
},
|
|
"api": {
|
|
"ipfsproxy": {
|
|
"listen_multiaddress": "/ip4/127.0.0.1/tcp/9095",
|
|
"node_multiaddress": "/ip4/127.0.0.1/tcp/5001",
|
|
"read_timeout": "10m0s",
|
|
"read_header_timeout": "5s",
|
|
"write_timeout": "10m0s",
|
|
"idle_timeout": "1m0s"
|
|
},
|
|
"restapi": {
|
|
"ssl_cert_file": "server.crt",
|
|
"ssl_key_file": "server.key",
|
|
"http_listen_multiaddress": "/ip4/127.0.0.1/tcp/9094",
|
|
"read_timeout": "30s",
|
|
"read_header_timeout": "5s",
|
|
"write_timeout": "1m0s",
|
|
"idle_timeout": "2m0s",
|
|
"basic_auth_credentials": null,
|
|
"cors_allowed_origins": [
|
|
"*"
|
|
],
|
|
"cors_allowed_methods": [
|
|
"GET"
|
|
],
|
|
"cors_allowed_headers": [],
|
|
"cors_exposed_headers": [
|
|
"Content-Type",
|
|
"X-Stream-Output",
|
|
"X-Chunked-Output",
|
|
"X-Content-Length"
|
|
],
|
|
"cors_allow_credentials": true,
|
|
"cors_max_age": "0s"
|
|
}
|
|
},
|
|
"ipfs_connector": {
|
|
"ipfshttp": {
|
|
"node_multiaddress": "/ip4/127.0.0.1/tcp/5001",
|
|
"connect_swarms_delay": "30s",
|
|
"ipfs_request_timeout": "5m0s",
|
|
"pin_timeout": "0h2m0s",
|
|
"unpin_timeout": "3h0m0s"
|
|
}
|
|
},
|
|
"pin_tracker": {
|
|
"stateless": {
|
|
"max_pin_queue_size": 50000,
|
|
"concurrent_pins": 10
|
|
}
|
|
},
|
|
"monitor": {
|
|
"pubsubmon": {
|
|
"check_interval": "15s"
|
|
}
|
|
},
|
|
"informer": {
|
|
"disk": {
|
|
"metric_ttl": "30s",
|
|
"metric_type": "reposize"
|
|
},
|
|
"numpin": {
|
|
"metric_ttl": "10s"
|
|
}
|
|
}
|
|
}
|