go.mercari.io/datastore@v1.8.2/dsmiddleware/rpcretry/doc.go (about) 1 /* 2 Package rpcretry automatically retries when some RPCs end in error. 3 RPC sometimes fails rarely and this may be able to recover simply by retrying. 4 5 Non idempotency operations (Commit, Rollback, and Next) are not automatically retried. 6 7 By default, it retries up to 3 times. 8 First wait 100 milliseconds, then wait exponentially back off. 9 This value can be changed by option. 10 */ 11 package rpcretry // import "go.mercari.io/datastore/dsmiddleware/rpcretry"