feat: add standby URL, change default standby port#287
Conversation
|
Cool. What's the relationship between this and |
|
Understood, thanks. Could you mention the different in the field description please? And maybe update https://docs.apify.com/platform/actors/development/programming-interface/environment-variables as well? |
I tried to improve the descriptions here. I'm already preparing a PR for docs, but I want to mention the configs in SDKs, so that's why I'm doing it first. |
Co-authored-by: František Nesveda <fnesveda@users.noreply.github.com>
| ] = 4321 | ||
|
|
||
| standby_url: Annotated[ | ||
| str, |
There was a problem hiding this comment.
In Crawlee, we use a custom URL validator function:
url: Annotated[str, BeforeValidator(validate_http_url), Field(...)]https://github.com/apify/crawlee-python/blob/v0.3.8/src/crawlee/_request.py#L112
@jirimoravcik Could we use the same approach here as well?
This PR introduces a new environment variable with standby URL, it also changes the default port for the standby port env var.