Skip to content

Commit 01588f5

Browse files
authored
feat: add max cost per run (#480)
Needed to add `maxCostPerRunUsd` from run options to actor env vars.
1 parent 6fb8772 commit 01588f5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/consts/src/consts.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,7 @@ export const ACTOR_ENV_VARS = {
323323
ID: 'ACTOR_ID',
324324
INPUT_KEY: 'ACTOR_INPUT_KEY',
325325
MAX_PAID_DATASET_ITEMS: 'ACTOR_MAX_PAID_DATASET_ITEMS',
326+
MAX_TOTAL_CHARGE_USD: 'ACTOR_MAX_TOTAL_CHARGE_USD',
326327
MEMORY_MBYTES: 'ACTOR_MEMORY_MBYTES',
327328
RUN_ID: 'ACTOR_RUN_ID',
328329
STANDBY_PORT: 'ACTOR_STANDBY_PORT',

0 commit comments

Comments
 (0)