Skip to content

Commit 3f46c38

Browse files
committed
imp: adjust generic-log-config after perf discussion
1 parent a175c46 commit 3f46c38

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

cardano-lib/generic-log-config.nix

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,21 @@
2323
# The frequency of resource messages.
2424
TraceOptionResourceFrequency = 1000;
2525

26-
# Queue size control: y
26+
# Queue size control:
2727
# In case of a missing forwarding service consumer, trace messages will be
2828
# buffered. This mitigates short forwarding interruptions, or delays at
2929
# startup time.
3030
#
3131
# The queue capacity should thus correlate to the expected log lines per
32-
# second given a particular tracing configuration - to avoid unnecessarily
32+
# second given a particular tracing configuration to avoid unnecessarily
3333
# increasing memory footprint.
3434
#
3535
# The maxReconnectDelay config option specifies the maximum delay in seconds
36-
# between (re-)connection attempts of a forwarder (default: 60s).
36+
# between (re-)connection attempts of a forwarder.
3737
TraceOptionForwarder = {
3838
connQueueSize = 64;
3939
disconnQueueSize = 128;
40-
maxReconnectDeplay = 60;
40+
maxReconnectDeplay = 30;
4141
};
4242

4343
# Tracing options for node
@@ -49,10 +49,11 @@
4949
# enabled, where `EKGBackend` forwards EKG resource status to
5050
# cardano-tracer, `Forwarder` forwards message traces and
5151
# `PrometheusSimple` serves cardano-node metrics directly from
52-
# cardano-node.
52+
# cardano-node and defaults to use of the same port as in the legacy
53+
# tracing system.
5354
"EKGBackend"
5455
"Forwarder"
55-
"PrometheusSimple 127.0.0.1 12799"
56+
"PrometheusSimple 127.0.0.1 12798"
5657

5758
# Only one of the following can be enabled, which determines for format
5859
# of node logging to stdout.
@@ -139,8 +140,6 @@
139140
severity = "Info";
140141
};
141142

142-
143-
144143
"Net.Mux.Remote" = {
145144
severity = "Info";
146145
};
@@ -183,7 +182,7 @@
183182
maxFrequency = 2.0;
184183
};
185184

186-
# Uncomment UTXO-HD tracer adjustments for cardano-node 10.4
185+
# Uncomment UTXO-HD tracer adjustments once UTXO-HD is released.
187186
#
188187
# These messages are UTxO-HD specific. On a regular node, the tracing
189188
# system might warn at startup about config inconsistencies as those

0 commit comments

Comments
 (0)