Skip to content

Commit 8cd2f2c

Browse files
feat: add standby URL, change default standby port (#287)
This PR introduces a new environment variable with standby URL, it also changes the default port for the standby port env var. --------- Co-authored-by: František Nesveda <[email protected]>
1 parent 17c3bbe commit 8cd2f2c

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

src/apify/_configuration.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,15 @@ class Configuration(CrawleeConfiguration):
259259
description='TCP port for the Actor to start an HTTP server to receive messages in the Actor Standby mode',
260260
),
261261
deprecated('Use `web_server_port` instead'),
262-
] = 4322
262+
] = 4321
263+
264+
standby_url: Annotated[
265+
str,
266+
Field(
267+
alias='actor_standby_url',
268+
description='URL for accessing web servers of Actor runs in Standby mode',
269+
),
270+
]
263271

264272
token: Annotated[
265273
str | None,
@@ -296,7 +304,7 @@ class Configuration(CrawleeConfiguration):
296304
'actor_web_server_url',
297305
'apify_container_url',
298306
),
299-
description='Unique public URL for accessing the Actor run web server from the outside world',
307+
description='Unique public URL for accessing a specific Actor run web server from the outside world',
300308
),
301309
] = 'http://localhost:4321'
302310

0 commit comments

Comments
 (0)