The current IPFHelper utility class does not support specifying a timeout.
This can cause the IPFHelper.file_from_hash() function to block indefinitely in case the IPFS back-end does not return data.
We should add support for timeout and update the various call-sites to a) pass a reasonable timeout value (a few seconds) and b) handle possible timeout error exception.
The current IPFHelper utility class does not support specifying a timeout. This can cause the IPFHelper.file_from_hash() function to block indefinitely in case the IPFS back-end does not return data.
We should add support for timeout and update the various call-sites to a) pass a reasonable timeout value (a few seconds) and b) handle possible timeout error exception.