Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions proxy_agent_extension/src/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ pub const MIN_SUPPORTED_OS_BUILD: u32 = 17763;

pub const STATE_KEY_READ_PROXY_AGENT_STATUS_FILE: &str = "ReadProxyAgentStatusFile";
pub const STATE_KEY_FILE_VERSION: &str = "FileVersion";
pub const STATE_KEY_STALE_PROXY_AGENT_STATUS: &str = "StaleProxyAgentStatus";
pub const STATE_KEY_PARSE_TIMESTAMP_ERROR: &str = "ParseTimestampError";

// Max time in seconds before proxy agent status is considered stale
pub const MAX_TIME_BEFORE_STALE_STATUS_SECS: u64 = 5 * 60;

pub const EBPF_CORE: &str = "EbpfCore";
pub const EBPF_EXT: &str = "NetEbpfExt";
Expand Down
Loading
Loading