ipfs-cluster/ipfsconn/ipfshttp
Hector Sanjuan a60a835e36 Wait for IPFS to be ready during start
This commit introduces unlimited waiting on start until a request to `ipfs id`
succeeds.

Waiting has some consequences:

* State watching (recover/sync) and metrics publishing does not start until ipfs is ready
* swarm/connect is not triggered until ipfs is ready.

Once the first request to ipfs succeeds everything goes to what it was before.

This alleviates trying operations like sending our IDs in metrics when IPFS is
simply not there.
2022-09-15 16:40:34 +02:00
..
config_test.go Fix: repo/stat gets hammered on busy cluster peers 2022-02-01 01:34:17 +01:00
config.go Enable spell checking and fix spelling errors (using US locale) 2022-06-16 17:43:30 +02:00
ipfshttp_test.go Migrate from ipfs/ipfs-cluster to ipfs-cluster/ipfs-cluster 2022-06-16 17:43:30 +02:00
ipfshttp.go Wait for IPFS to be ready during start 2022-09-15 16:40:34 +02:00