Skip to content

Documentation state database is a name (string), but it needs to be an integer #6

@mremond

Description

@mremond

Database in Redis are just integer, not names.

Reference: http://stackoverflow.com/questions/6618291/why-does-redis-use-integer-database-numbers

When you create an eredis_pool, with a database name, you have the following crash:(push-

api@mr-macbook)3> 21:49:22.213 [error] CRASH REPORT Process <0.209.0> with 0 neighbours exited with reason: bad argument in call to erlang:integer_to_list("user_db") in eredis_client:init/1 line 73 in gen_server:init_it/6 line 328

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions