123456789101112131415161718192021222324252627 |
- %%%===================================================================
- %%% Syn - TEST CONFIGURATION FILE
- %%%===================================================================
- [
- %% Syn config
- {syn, [
- %% You can set a callback to be triggered when a process exits.
- %% This callback will be called only on the node where the process was running.
- {process_exit_callback, [syn_register_processes_SUITE, process_exit_callback_dummy]},
- %% After a net split, when nodes reconnect, Syn will merge the data from all the nodes in the cluster.
- %% If the same Key was used to register a process on different nodes during a net split, then there will be a conflict.
- %% By default, Syn will discard the processes running on the node the conflict is being resolved on,
- %% and will kill it by sending a `kill` signal with `exit(Pid, kill)`.
- %% If this is not desired, you can set the netsplit_send_message_to_process option here below to instruct Syn
- %% to send a message to the discarded process, so that you can trigger any actions on that process
- %% (such as a graceful shutdown).
- {netsplit_send_message_to_process, shutdown}
- ]}
- ].
|