mirror of
https://github.com/stalwartlabs/mail-server.git
synced 2025-01-25 01:09:08 +08:00
Fix disabled events setting
This commit is contained in:
parent
d5b9d01c1b
commit
5be92da8ff
2 changed files with 5 additions and 2 deletions
|
@ -810,7 +810,11 @@ fn apply_events(
|
|||
for event_or_many in event_types {
|
||||
match event_or_many {
|
||||
EventOrMany::Event(event_type) => {
|
||||
apply_fn(event_type);
|
||||
if inclusive {
|
||||
apply_fn(event_type);
|
||||
} else {
|
||||
exclude_events.insert(event_type);
|
||||
}
|
||||
}
|
||||
EventOrMany::StartsWith(value) => {
|
||||
for (event_type, name) in event_names.iter() {
|
||||
|
|
|
@ -3,6 +3,5 @@ tracer.otel.transport = "grpc"
|
|||
tracer.otel.endpoint = "http://127.0.0.1:4317"
|
||||
tracer.otel.level = "trace"
|
||||
metrics.open-telemetry.interval = "10s"
|
||||
metrics.open-telemetry.enable = true
|
||||
metrics.open-telemetry.endpoint = "http://127.0.0.1:4317"
|
||||
metrics.open-telemetry.transport = "grpc"
|
||||
|
|
Loading…
Reference in a new issue