diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-03 10:10:19 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-03 10:10:19 +0200 |
| commit | 7d3685a5ed4bfac85673793f8ae6d9c5a6cff962 (patch) | |
| tree | 27bc845ef5758aa43662d0ce238436461d1893e7 /internal/config | |
| parent | f4898f746d03ff5dcf57d3967c594d98a9da7fe0 (diff) | |
feat(server): add AUTHKEY command handling
Diffstat (limited to 'internal/config')
| -rw-r--r-- | internal/config/server.go | 3 |
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, |
