STALE_IF_ERROR_SECS can be bumped up

This commit is contained in:
Frank Denis 2020-07-09 21:10:31 +02:00
parent 64cd83a440
commit bf589911de

View file

@ -2,5 +2,5 @@ pub const DNS_QUERY_PARAM: &str = "dns";
pub const MAX_DNS_QUESTION_LEN: usize = 512;
pub const MAX_DNS_RESPONSE_LEN: usize = 4096;
pub const MIN_DNS_PACKET_LEN: usize = 17;
pub const STALE_IF_ERROR_SECS: u32 = 3600;
pub const STALE_IF_ERROR_SECS: u32 = 86400;
pub const STALE_WHILE_REVALIDATE_SECS: u32 = 60;