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

register input runner on demand instead of hard code #2121

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

Conversation

henryzhx8
Copy link
Collaborator

@henryzhx8 henryzhx8 commented Mar 3, 2025

之前input runner注册是直接写死了,不管有没有相关的插件,所有的input runner都会构造一个对象,像inputhostmonitor这种构造函数会起线程池的,显然没有用到这个插件的时候是浪费资源的,所以需要优化input runner注册方式,等真的用到的时候再注册。

@henryzhx8 henryzhx8 added the enhancement Feature enhancement label Mar 3, 2025
@henryzhx8 henryzhx8 added this to the v3.0 milestone Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants