ipfs-http-client block api timeout option
- Dominant language
- Go
- Stars
- 17.1k
- Forks
- 3.2k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 11
Description
seems like ipfs-http-api block api timeout option isnt working.
- **Version**:
ipfs-http-client@52.0.3
```js
{
version: '0.10.0',
commit: '',
repo: '11',
system: 'amd64/linux',
golang: 'go1.16.8'
}
```
#### Severity:
High - The main functionality of the application does not work, API breakage, repo format breakage, etc.
#### Description:
ipfs-http-client block api doesnt seem to have timeout option
#### Steps to reproduce the error:
start an ipfs daemon with http api
```js
IPFS_HTTP = require('ipfs-http-client')
client = IPFS_HTTP.create()
client.dag.put({}, { timeout: -1 }) // timeout error (good)
client.block.put(new Uint8Array([]), { timeout: -1 }) // no timeout error/completes (bad)
```
Contributor guide
Assessment
This issue has not been assessed yet.