commit 0e671514dfa7d4a68125b6a1b802121b9fb1b1ef
parent c3f752e1d186dac1e0ffcb7fc7da5d4e5d8db7b3
Author: Natasha Kerensikova <natgh@instinctive.eu>
Date: Mon, 18 Aug 2025 21:23:12 +0000
Maximum encoded lengths have sensible default values
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/main.go b/main.go
@@ -139,6 +139,8 @@ func NewNatsIM(configPath string) (*NatsIM, error) {
Show: LineMark{Mid: ": "},
AutoClear: true,
MaxQuoteRatio: 2.0,
+ MaxBase64: 256,
+ MaxHex: 64,
},
Nats: NatsConfig{
Name: "nastim",