use Duration;
pub const CONFLICT: u16 = 409;
/// How far back stage cleanup looks for dated folders beyond the retention.
pub const PRUNE_LOOKBACK: Duration = from_secs;
/// The first delay before retrying a load check that could not run; it doubles up to `pending_recheck_every`.
pub const CHECK_RETRY: Duration = from_secs;
/// How often a stage delivery reads Snowpipe's load report.
pub const STAGE_CONFIRM_POLL: Duration = from_secs;
/// How often a streaming delivery checks channel status.
pub const STREAMING_CONFIRM_POLL: Duration = from_secs;
/// The HTTP status Snowpipe answers when the role lacks a privilege on the pipe.
pub const FORBIDDEN: u16 = 403;
/// How far before a file was sent a history scan looks for its load.
pub const HISTORY_MARGIN: Duration = from_secs;
/// How far back a history scan looks for a file the pipe had received before this run sent it: Snowpipe's 14-day load metadata.
pub const RECEIVED_BEFORE_LOOKBACK: Duration = from_secs;
/// The most history scan pages (10,000 entries each) read for one check; the scan stops sooner once every checked file is found.
pub const MAX_HISTORY_PAGES: usize = 50;