diff options
author | Jan Uhlig <[email protected]> | 2024-10-02 12:22:10 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2024-11-12 14:56:59 +0100 |
commit | 53a8db10195f9aae640b238fa3d571bf0136a55a (patch) | |
tree | 6b2ec1f0b3275615e51ce06f5909dd234d47f5f8 /test | |
parent | e5649ba630c5be25a0c9c9f20c78f8f9f72e363e (diff) | |
download | ranch-53a8db10195f9aae640b238fa3d571bf0136a55a.tar.gz ranch-53a8db10195f9aae640b238fa3d571bf0136a55a.tar.bz2 ranch-53a8db10195f9aae640b238fa3d571bf0136a55a.zip |
Fix alarm setting typo
The setting `threshold` was misspelled as `treshold`.
Diffstat (limited to 'test')
-rw-r--r-- | test/acceptor_SUITE.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/acceptor_SUITE.erl b/test/acceptor_SUITE.erl index 9bf4ffc..1b0bfd4 100644 --- a/test/acceptor_SUITE.erl +++ b/test/acceptor_SUITE.erl @@ -599,7 +599,7 @@ misc_connection_alarms(_) -> Self ! {connection_alarm, {Ref, AlarmName, length(ActiveConns)}} end, Alarms0 = #{ - test1 => Alarm1 = #{type => num_connections, treshold => 2, cooldown => 0, callback => AlarmCallback}, + test1 => Alarm1 = #{type => num_connections, threshold => 2, cooldown => 0, callback => AlarmCallback}, test2 => Alarm2 = #{type => num_connections, treshold => 3, cooldown => 0, callback => AlarmCallback} }, ConnectOpts = [binary, {active, false}, {packet, raw}], |