this adds a retry_if_missing arg to RpcDatastore.get that will cause a StatusCode.NOT_FOUND exception to retry with the exponential backoff / retry helper.
It also adds the arg to IpfsDatastore, but it's ignored; I just figured the two datastores should have the same API.
Updates the calls to db.get() in mediachain.reader.api to enable retries.
this adds a
retry_if_missing
arg toRpcDatastore.get
that will cause aStatusCode.NOT_FOUND
exception to retry with the exponential backoff / retry helper.It also adds the arg to
IpfsDatastore
, but it's ignored; I just figured the two datastores should have the same API.Updates the calls to
db.get()
inmediachain.reader.api
to enable retries.