akira / exq

Job processing library for Elixir - compatible with Resque / Sidekiq

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

expected :timeout to be an integer of :infinity

kitplummer opened this issue · comments

Out-the-box getting this error. Can't seen to get around it. Anyone else see it?

** (Mix) Could not start application exq: Exq.start(:normal, []) returned an error: shutdown: failed to start child: Exq.Manager.Server
    ** (EXIT) an exception was raised:
        ** (RuntimeError) 


====================================================================================================
ERROR! Could not connect to Redis!

Configuration passed in: [[host: "127.0.0.1", port: 6379, database: 0, password: nil, name: Exq.Redis.Client, socket_opts: []]]
Error: :error
Reason: %ArgumentError{message: "expected :timeout to be an integer of :infinity, got: nil"}

Make sure Redis is running, and your configuration matches Redis settings.
====================================================================================================

            (exq 0.16.2) lib/exq/manager/server.ex:437: Exq.Manager.Server.check_redis_connection/1
            (exq 0.16.2) lib/exq/manager/server.ex:179: Exq.Manager.Server.init/1
            (stdlib 4.1.1) gen_server.erl:851: :gen_server.init_it/2
            (stdlib 4.1.1) gen_server.erl:814: :gen_server.init_it/6
            (stdlib 4.1.1) proc_lib.erl:240: :proc_lib.init_p_do_apply/3

Probably me being dumb. But copied the config straight into a freshy new mix project.

Doh, yep - that's it. Sorry.