ACTOR_MAX_PAID_DATASET_ITEMS environment variable
# 💻creators-and-apify
l
ACTOR_MAX_TOTAL_CHARGE_USD and APIFY_CHARGE_ACTOR_EVENTS_COUNT exist as environment variables. Using this, you should be able to make your logic work. Quite interesting, because this second one is not listed in the docs: https://docs.apify.com/platform/actors/development/programming-interface/environment-variables?fpr=7p4wu#system-environment-variables
b
yeah my point is that i'd like to avoid custom logic since it seems
ACTOR_MAX_PAID_DATASET_ITEMS
in PPE is the result of dividing
ACTOR_MAX_TOTAL_CHARGE_USD
by the price per
apify-default-dataset-item
, which is really all i need. But i haven't seen this documented anywhere
nevermind it doesn't seem to work that way