summaryrefslogtreecommitdiff
path: root/internal/mapr/server
diff options
context:
space:
mode:
Diffstat (limited to 'internal/mapr/server')
-rw-r--r--internal/mapr/server/aggregate.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/mapr/server/aggregate.go b/internal/mapr/server/aggregate.go
index 1f735ac..f055b9d 100644
--- a/internal/mapr/server/aggregate.go
+++ b/internal/mapr/server/aggregate.go
@@ -141,7 +141,7 @@ func (a *Aggregate) nextLine() (line *line.Line, ok bool, noMoreChannels bool) {
a.linesCh = newLinesCh
// In turbo mode, synchronously put the channel back to avoid race conditions
- if config.Env("DTAIL_TURBOBOOST_ENABLE") {
+ if config.Server.TurboModeEnable {
select {
case a.NextLinesCh <- oldLinesCh:
// Successfully put back