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

feat: add reset to ConnectorRegistry #304

Merged
merged 1 commit into from
Nov 14, 2023
Merged

feat: add reset to ConnectorRegistry #304

merged 1 commit into from
Nov 14, 2023

Conversation

ttosta-google
Copy link
Collaborator

Fixes #301

@Override
public void close() {
shutdown();
}

/** Calls shutdown on the singleton and reset the executor. */
public void resetInstance() {
shutdown();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we update this method to close all open connectors and otherwise leave the executor running?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

@ttosta-google ttosta-google merged commit e6812d0 into main Nov 14, 2023
16 checks passed
@ttosta-google ttosta-google deleted the add-reset branch November 14, 2023 16:58
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.

Add reset to the ConnectorRegistry
2 participants