-spec quorum(config |
running |
non_neg_integer()) -> pos_integer().
Calculate the number of nodes required for the quorum:
Integer:
any integer value
config:
Return value of ‘classy.quorum’ application environment variable
running:
Quorum among the running sites, not less than quorum(config)