Skip to content

Find a solution for the get_db operation #68

@chridou

Description

@chridou

ConnectionLike has a get_db method which returns the redis database id of the current database. This method is synchronous. Since we get the connection asynchronous it is not always possible to return the id in which case currently -1 is returned.

Possible solutions:

  • The pooled connection can simply remember it.
  • Keep it as it is
  • something else?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions