fix: dual boost only in planning mode (#1215)
This commit is contained in:
parent
c07d396e30
commit
6e18616c16
@ -449,7 +449,7 @@ M.stream = function(opts)
|
|||||||
return original_on_stop(stop_opts)
|
return original_on_stop(stop_opts)
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
if Config.dual_boost.enabled then
|
if Config.dual_boost.enabled and opts.mode == "planning" then
|
||||||
M._dual_boost_stream(opts, P[Config.dual_boost.first_provider], P[Config.dual_boost.second_provider])
|
M._dual_boost_stream(opts, P[Config.dual_boost.first_provider], P[Config.dual_boost.second_provider])
|
||||||
else
|
else
|
||||||
M._stream(opts)
|
M._stream(opts)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user