Skip to content

Commit

Permalink
fix: maybe -> 'maybe'
Browse files Browse the repository at this point in the history
  • Loading branch information
zmstone committed Nov 9, 2024
1 parent 655e361 commit 309d2a5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/esockd_udp.erl
Original file line number Diff line number Diff line change
Expand Up @@ -55,22 +55,22 @@

-export([proxy_request/1]).

-type(maybe(T) :: undefined | T).
-type('maybe'(T) :: undefined | T).

-record(state, {
proto :: atom(),
sock :: inet:socket(),
port :: inet:port_number(),
rate_limit :: maybe(esockd_rate_limit:bucket()),
rate_limit :: 'maybe'(esockd_rate_limit:bucket()),
conn_limiter :: esockd_generic_limiter:limiter(),
limit_timer :: maybe(reference()),
limit_timer :: 'maybe'(reference()),
max_peers :: infinity | pos_integer(),
peers :: map(),
options :: [esockd:option()],
access_rules :: list(),
mfa :: esockd:mfargs(),
health_check_request :: maybe(binary()),
health_check_reply :: maybe(binary())
health_check_request :: 'maybe'(binary()),
health_check_reply :: 'maybe'(binary())
}).

-define(ACTIVE_N, 100).
Expand Down

0 comments on commit 309d2a5

Please sign in to comment.