forked from wooga/eredis
-
Notifications
You must be signed in to change notification settings - Fork 24
Tasks
Bjorn Svensson edited this page Sep 25, 2020
·
5 revisions
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
When using reconnect_sleep=no_reconnect there will be no reconnections https://github.com/Nordix/eredis#connect-a-client-start_link0-3