-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Detect Server Capabilities #172
Conversation
thefringeninja
commented
Nov 30, 2021
•
edited
Loading
edited
- add server capabilities checks for persistent subscriptions to all and batch append
- remove net48 as a target
1b07679
to
be66145
Compare
7b022b7
to
908de93
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work, LGTM overall.
My only concern is that feature introduces a lot of branching that seems to be avoidable.
@timothycoleman convinced me I was wrong here.
src/EventStore.Client.PersistentSubscriptions/PersistentSubscription.cs
Outdated
Show resolved
Hide resolved
@@ -64,8 +64,6 @@ public class EventStoreTestServer : IEventStoreTestServer { | |||
.WithName(ContainerName) | |||
.MountVolume(_hostCertificatePath, "/etc/eventstore/certs", MountType.ReadOnly) | |||
.ExposePort(2113, 2113) | |||
//.KeepContainer() | |||
//.KeepRunning() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Leftovers
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lets keep these i think
908de93
to
f1016c3
Compare
c3d7238
to
312dfa5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
- add timeouts to append_to_stream_retry tests - increase timeouts on security tests
- ensure calls are disposed - rediscovery on server not available - client reusable after discovery or server caps failure Co-authored-by: Timothy Coleman <timothy.coleman@gmail.com>
312dfa5
to
fc06d89
Compare
81610b4
to
e7d5d21
Compare
TalAloni/StandardSocketsHttpHandler#8 could fix our issue on |
See TalAloni/StandardSocketsHttpHandler#9 for follow up. |
252bf35
to
953e9ab
Compare
this pr also improves server discovery:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉