Skip to content

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

Open
@xfeep

Description

@xfeep

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions