Implement blacklist/whitelist
Change from the all/whitelist ebhavior to the blacklist/whitelist behaviour documented in the write-up
This commit is contained in:
parent
7c86de2491
commit
80fd2615f6
5 changed files with 43 additions and 19 deletions
|
@ -393,8 +393,9 @@ init([Opts]) ->
|
|||
case get_opt(recent_aae, Opts, ?RECENT_AAE) of
|
||||
false ->
|
||||
false;
|
||||
{BucketList, LimitMinutes, UnitMinutes} ->
|
||||
#recent_aae{buckets = BucketList,
|
||||
{FilterType, BucketList, LimitMinutes, UnitMinutes} ->
|
||||
#recent_aae{filter = FilterType,
|
||||
buckets = BucketList,
|
||||
limit_minutes = LimitMinutes,
|
||||
unit_minutes = UnitMinutes}
|
||||
end,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue