Skip to main content

PACKAGE_REGISTER_TIMEOUT

Constant PACKAGE_REGISTER_TIMEOUT 

Source
pub const PACKAGE_REGISTER_TIMEOUT: Duration;
Expand description

Longer per-call timeout for *_create_with_url / *_update_with_url endpoints. The broker fetches the package from the supplied URL before responding, so the round-trip can comfortably exceed 60 s against a slow internal registry (S3 / GCS / function://) or a large .nar / .jar artifact. Overrides the client-level timeout for those calls only — every other admin verb keeps the 60 s budget DEFAULT_TIMEOUT provides.

5 min matches the Java admin client’s read-timeout for register paths.