Lock signature verification and add per-IP ingest limits
This commit is contained in:
@@ -5,4 +5,23 @@ exclude_tags =
|
||||
[:nak_e2e]
|
||||
end
|
||||
|
||||
# Suppress Postgrex disconnect logs that fire during sandbox teardown.
|
||||
# When a sandbox-owning process exits, the connection pool detects the
|
||||
# dead client and logs an error asynchronously. This is expected cleanup
|
||||
# noise, not a real failure — silence it so test output stays pristine.
|
||||
:logger.add_primary_filter(
|
||||
:suppress_sandbox_disconnect,
|
||||
{fn
|
||||
%{msg: {:string, chars}}, _extra ->
|
||||
if :string.find(IO.chardata_to_string(chars), "(DBConnection.ConnectionError)") != :nomatch do
|
||||
:stop
|
||||
else
|
||||
:ignore
|
||||
end
|
||||
|
||||
_event, _extra ->
|
||||
:ignore
|
||||
end, []}
|
||||
)
|
||||
|
||||
ExUnit.start(exclude: exclude_tags)
|
||||
|
||||
Reference in New Issue
Block a user