apache / couchdb-erlfdb

Erlang API for FoundationDB
https://www.foundationdb.org
Apache License 2.0
28 stars 20 forks source link

Do not apply default future timeouts to commit and on_error response #9

Closed nickva closed 4 years ago

nickva commented 4 years ago

commit should timeout based on the default transaction_too_old (1007) error or from an explicitly set transaction timeout option (1031).

on_error may sleep for some time which is determined by the backoff and retry counts,it is limited and is guaranteed to return back.