Skip to content

Commit 7fe15fc

Browse files
authored
feat: add max items to env variable names (#363)
This adds a new const into `ENV_VARS`. It will be used by worker to pass the `maxItems` limit from run options to the actor env vars.
1 parent a4c1c75 commit 7fe15fc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/consts/src/consts.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,7 @@ export const ENV_VARS = {
375375
ACTOR_TASK_ID: 'APIFY_ACTOR_TASK_ID',
376376
ACTOR_BUILD_ID: 'APIFY_ACTOR_BUILD_ID',
377377
ACTOR_BUILD_NUMBER: 'APIFY_ACTOR_BUILD_NUMBER',
378+
ACTOR_MAX_ITEMS: 'APIFY_ACTOR_MAX_ITEMS',
378379
INPUT_KEY: 'APIFY_INPUT_KEY',
379380
USER_ID: 'APIFY_USER_ID',
380381
TOKEN: 'APIFY_TOKEN',

0 commit comments

Comments
 (0)