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

[Plugin][Worker] Refactor and clean up strucut #2712

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Kangaxx-0
Copy link
Contributor

This pr attempts to refactor the existing RunningWorker struct by removing the PluginConfig field because PluginEvn has already had a PluginConfig, and the extra config seems not to be used in the repo at all.

The other reason is - create_plugin_instance_env_and_subscriptions tries to mutate PluginConfig\run which can cause some confusion when using RunningWorker instance.

@Kangaxx-0 Kangaxx-0 temporarily deployed to cachix August 20, 2023 19:42 — with GitHub Actions Inactive
@Kangaxx-0 Kangaxx-0 marked this pull request as ready for review August 20, 2023 23:05
@Kangaxx-0 Kangaxx-0 temporarily deployed to cachix August 20, 2023 23:41 — with GitHub Actions Inactive
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.

1 participant