File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
internal/services/controllers/olap Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -257,16 +257,19 @@ func (o *OLAPControllerImpl) Start() (func() error, error) {
257257 if err != nil {
258258 return nil , err
259259 }
260- heavyReadMQ .SetQOS (2000 )
260+
261+ migrationDisabled := os .Getenv ("MIGRATION_DISABLE_EXTRA" ) == "true"
262+
263+ if ! migrationDisabled {
264+ heavyReadMQ .SetQOS (2000 )
265+ }
261266
262267 o .s .Start ()
263268
264269 mqBuffer := msgqueue .NewMQSubBuffer (msgqueue .OLAP_QUEUE , heavyReadMQ , o .handleBufferedMsgs )
265270
266271 wg := sync.WaitGroup {}
267272
268- migrationDisabled := os .Getenv ("MIGRATION_DISABLE_EXTRA" ) == "true"
269-
270273 // if the environment variable is set, disable the table partition on startup
271274 startupPartitionCtx , cancelStartupPartition := context .WithTimeout (context .Background (), 30 * time .Second )
272275 defer cancelStartupPartition ()
You can’t perform that action at this time.
0 commit comments