Skip to content
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

Expect CancelledError when node is terminated #357

Conversation

w1am
Copy link
Collaborator

@w1am w1am commented Feb 20, 2024

Changed: Expect a CancelledError error when a node connection is abruptly terminated.

The default value of ShutdownTimeout in ESDB is now explicitly set to 5s, which was the default value for ESDB versions before v24.x. The value was recently changed to 30s in recent .NET releases, but this change was causing some issues with subscriptions. See more info here.

Copy link

linear bot commented Feb 20, 2024

@w1am w1am force-pushed the w1am/dev-231-remove-try-catch-in-mid-stream-and-write-after-end-test branch from 983e87a to f086387 Compare February 20, 2024 10:40
src/__test__/utils/Cluster.ts Outdated Show resolved Hide resolved
src/__test__/utils/Cluster.ts Outdated Show resolved Hide resolved
@w1am w1am force-pushed the w1am/dev-231-remove-try-catch-in-mid-stream-and-write-after-end-test branch 4 times, most recently from 2f3cbe3 to 39a3d2f Compare February 28, 2024 13:33
@w1am w1am force-pushed the w1am/dev-231-remove-try-catch-in-mid-stream-and-write-after-end-test branch from 39a3d2f to f195714 Compare February 28, 2024 14:40
@w1am w1am merged commit 3543b83 into master Mar 1, 2024
23 checks passed
@w1am w1am deleted the w1am/dev-231-remove-try-catch-in-mid-stream-and-write-after-end-test branch March 1, 2024 05:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants