ai video deprecate priceperbroadcaster #3061
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this pull request do? Explain your changes. (required)
This pull request adds the
pricePerGateway
flag and deprecates thepricePerBroadcaster
flag per core team decision (details: https://discord.com/channels/423160867534929930/1051963444598943784/1210356864643109004). It adds the new-pricePerGateway
flag while maintaining support for-pricePerBroadcaster
with a deprecation warning on startup. This change does not address refactoring associated with variable names and types, which will be addressed in a later change.Specific updates (required)
-pricePerGateway
flaggetBroadcasters
function to parse thegateways
property instead of thebroadcasters
property.W0516 11:37:39.563931 97531 starter.go:785] -PricePerBroadcaster flag is deprecated and will be removed in a future release. Please use -PricePerGateway instead
How did you test each of these updates (required)
-pricePerGateway
flag-pricePerBroadcaster
flag, noted deprecation warningbroadcasters
property in the config specified in the-pricePerGateway
flag, noted deprecation warning.Does this pull request close any open issues?
AI-LIV-358
Checklist:
make
runs successfully./test.sh
pass