ipfs-companion
ipfs-companion copied to clipboard
Periodical API timeout
Something to investigate:
Firefox 80 and go-ipfs 0.7.0-rc1 with ~600 displays "automatic mode on/off" popup a few times an hour.
This is caused by timeout on swarm peers call we make to display peer count:
Unsure about details (maybe my node runs on a slow machine? go-ipfs blocking?), needs more analysis.
Potential fixes:
- add retry logic
- increase timeout
- update peer count only when needed (when peer count is no longer displayed on the page – see https://github.com/ipfs-shipyard/ipfs-companion/issues/662)
