summaryrefslogtreecommitdiff
path: root/internal/config
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-03 10:10:19 +0200
committerPaul Buetow <paul@buetow.org>2026-03-03 10:10:19 +0200
commit7d3685a5ed4bfac85673793f8ae6d9c5a6cff962 (patch)
tree27bc845ef5758aa43662d0ce238436461d1893e7 /internal/config
parentf4898f746d03ff5dcf57d3967c594d98a9da7fe0 (diff)
feat(server): add AUTHKEY command handling
Diffstat (limited to 'internal/config')
-rw-r--r--internal/config/server.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/config/server.go b/internal/config/server.go
index 80b52e9..d0986d6 100644
--- a/internal/config/server.go
+++ b/internal/config/server.go
@@ -72,6 +72,8 @@ type ServerConfig struct {
// better performance through direct writing that bypasses internal channels.
// Set this to true only if you experience issues with turbo boost mode.
TurboBoostDisable bool `json:",omitempty"`
+ // Enable in-memory auth-key registration and fast reconnect.
+ AuthKeyEnabled bool `json:",omitempty"`
// Retry interval for glob retries in milliseconds.
ReadGlobRetryIntervalMs int `json:",omitempty"`
// Retry interval for re-reading in tail/cat loops in milliseconds.
@@ -119,6 +121,7 @@ func newDefaultServerConfig() *ServerConfig {
Default: defaultPermissions,
},
TurboBoostDisable: false, // Default to false, meaning turbo boost is enabled by default
+ AuthKeyEnabled: true,
ReadGlobRetryIntervalMs: 5000,
ReadRetryIntervalMs: 2000,
ReadAggregateLineBufferSize: 10000,