Skip to content
Bjorn Svensson edited this page Sep 25, 2020 · 5 revisions

Remove need of trap_exit

A client, like eredis_cluster, uses process_flag(trap_exit, true) when starting a eredis client using: eredis:start_link(Address, Port, Options) We might make sure we dont crash and return an error instead (only applicable with no_reconnect)

! when gen_server closes with a reason other that xx it triggers a exit signal

Add comment about gen_server:init() return {stop, Reason}...will give crash

Update README regarding reconnect_sleep

When using reconnect_sleep=no_reconnect there will be no reconnections https://github.com/Nordix/eredis#connect-a-client-start_link0-3