Skip to main content

MAX_SCRAPE_TIMEOUT_MS

Constant MAX_SCRAPE_TIMEOUT_MS 

Source
pub const MAX_SCRAPE_TIMEOUT_MS: u64 = 300_000;
Expand description

同步 scrape 的 timeout 上限(毫秒);整请求超时按它留余量。