Skip to content

Commit 30d0ad5

Browse files
committed
WIP.
1 parent 37aa06f commit 30d0ad5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scheduler/pkg/kafka/dataflow/server.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,9 @@ func NewChainerServer(
106106
c.currentScalingConfig = scaling_config.DefaultScalingConfig
107107
}
108108

109-
c.mu.Lock()
109+
c.configUpdatesMutex.Lock()
110110
scaling_config.LogWhenUsingDefaultScalingConfig(&c.currentScalingConfig, c.logger)
111-
c.mu.Unlock()
111+
c.configUpdatesMutex.Unlock()
112112

113113
return c, nil
114114
}

0 commit comments

Comments
 (0)