-
Notifications
You must be signed in to change notification settings - Fork 117
feat: add maxTotalChargeUsd param #1485
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small suggestions to phrasing & Actor capitalization in old API Blueprint descriptions. Otherwise LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One fix to capitalization & one clarification otherwise LGTM
Specifies the maximum cost of the task run. This parameter is | ||
useful for pay-per-event tasks, as it allows you to limit the amount | ||
charged to your subscription. You can access the | ||
maximum cost in your Actor by using the | ||
`ACTOR_MAX_TOTAL_CHARGE_USD` environment variable. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we refer to it as pay-per-event task
? Correct me if I'm wrong but only Actor can be pay-per-event
and task inherently have no monetization but they can be comprised of Actors right?
Maybe something like:
Specifies the maximum cost of the task run. This parameter is | |
useful for pay-per-event tasks, as it allows you to limit the amount | |
charged to your subscription. You can access the | |
maximum cost in your Actor by using the | |
`ACTOR_MAX_TOTAL_CHARGE_USD` environment variable. | |
Specifies the maximum cost of the task run. This parameter is | |
useful when using pay-per-event Actors, as it allows you to limit the amount | |
charged to your subscription. You can access the | |
maximum cost in your Actor by using the | |
`ACTOR_MAX_TOTAL_CHARGE_USD` environment variable. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We say This is useful for pay-per-result tasks,
for maxItems
above so I've changed it to fit the context.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's leave it for now, but I might revisit it later.
Co-authored-by: Michał Olender <92638966+TC-MO@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
The
maxTotalChargeUsd
param is missing in API doc. I've searched forACTOR_MAX_PAID_DATASET_ITEMS
and added info aboutmaxTotalChargeUsd
to all relevant places.