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

V2 Refactor: Client instantiation method #24

Open
FerdinandSu opened this issue Dec 4, 2023 · 0 comments
Open

V2 Refactor: Client instantiation method #24

FerdinandSu opened this issue Dec 4, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@FerdinandSu
Copy link
Contributor

Use Dependency Injection to change the instantiation method of the client application (SuitClient) from singleton mode to single request mode to facilitate refreshing the application context between different requests, facilitating database operations, and providing support for parallelism.

利用依赖注入,将客户端应用(SuitClient)的实例化方式从单例模式改为单请求模式,以方便在不同的请求间刷新应用上下文,方便对数据库的操作,提供对并行的支持

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant