hiroeorz / eredis_pool

eredis_pool is Pool of Redis clients, using eredis and poolboy.
47 stars 60 forks source link

Failed on poolboy master branch #4

Closed Psli closed 12 years ago

Psli commented 12 years ago
Eshell V5.9.2  (abort with ^G)
1> eredis_pool:start().
ok
2> eredis_pool:q(default, ["SET", "foo", "bar"]).
** exception exit: {noproc,{gen_fsm,sync_send_event,
                                    [default,{checkout,true,5000},5000]}}
     in function  gen_fsm:sync_send_event/3 (gen_fsm.erl, line 214)
     in call from poolboy:transaction/2 (src/poolboy.erl, line 45)
3> 
Psli commented 12 years ago

Sorry, it's ok. 'default' is not default

Eshell V5.9.2  (abort with ^G)
1> eredis_pool:start().
ok
2>  eredis_pool:q({global, dbsrv}, ["SET", "foo", "bar"]).
{ok,<<"OK">>}
3> 
hiroeorz commented 12 years ago

Sorry, README fixed. default -> {global, dbsrv}. Thank you.