diff options
| author | Paul Buetow <paul@buetow.org> | 2025-07-02 22:28:05 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-07-02 22:28:05 +0300 |
| commit | a4eb3cc769c13312fdd4b7aaa20659e408f734b7 (patch) | |
| tree | e80d3da40af872f43e7698c13fd339286dfd2391 /examples/dtail.json.example | |
| parent | 17ee5e62c2b1037c21cb36f2677d2c538e2542cb (diff) | |
feat: make turbo mode configurable via config file
Add TurboModeEnable setting to server configuration with environment variable override.
The DTAIL_TURBOBOOST_ENABLE environment variable takes precedence over config file setting.
Turbo mode is automatically disabled for MapReduce operations to prevent data accuracy issues.
- Add TurboModeEnable boolean to ServerConfig struct
- Update config initializer to check environment variable for backward compatibility
- Replace direct env var checks with config.Server.TurboModeEnable throughout codebase
- Enable turbo mode in example config file (dtail.json.example)
- Add property to JSON schema with descriptive documentation
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'examples/dtail.json.example')
| -rw-r--r-- | examples/dtail.json.example | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/dtail.json.example b/examples/dtail.json.example index 26eb8a1..f21d114 100644 --- a/examples/dtail.json.example +++ b/examples/dtail.json.example @@ -97,6 +97,7 @@ "MaxConcurrentTails": 50, "MaxConnections": 50, "MaxLineLength": 1048576, + "TurboModeEnable": true, "Permissions": { "Default": [ "readfiles:^/.*$" |
