Closed thefringeninja closed 2 years ago
i pushed a branch rfc-032-tim
with a couple of changes & resolving the merge conflicts, feel free to squash those into this pr if you like
then there is just the just the configureOptions convo left and the RpcException handling in batchappender
@timothycoleman, @thefringeninja, for the future, it'd be good to not squash changes into a single commit on such a big PR before getting final reviews, as it's hard to see what has changed or not and don't have to go through the whole PR doing the review again.
Changed: Default deadlines for reading operations set to
Inifinity
Changed: Deadlines for all other operations defaults to10s
Changed: RemovedTimeout
fromEventStoreOperationOptions
and moved it to an explicitdeadline
parameter on all operations except for subscriptions. Consequently,configureOperationOptions
callback has been removed for most operations.This PR configures default deadlines for each operation according to the following table:
defaultDeadline
deadline
infinity
infinity
10 seconds
10 seconds
10 seconds
This aligns with the other clients.
Fixes #184