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

Enable coroutine context for invoking config method of a handler in coroutine mode #283

Open
xfeep opened this issue Apr 16, 2023 · 0 comments
Labels

Comments

@xfeep
Copy link
Member

xfeep commented Apr 16, 2023

So far, the call of the configuration function, viz. handler.config(map), in the coroutine mode has not enabled the coroutine context, so in this case, if we perform some database initialization operations in the configuration function, these operations will be executed with the Java default socket instead of the coroutine socket. It may cause some problems, especially in the case of socket connection pool.
This feature will enable coroutine context for configuration functions in coroutine mode.

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

No branches or pull requests

1 participant