From 34065c2281dbbc84a98b5da2f6892333959c6732 Mon Sep 17 00:00:00 2001 From: Hristo Venev Date: Fri, 17 May 2019 20:05:52 +0300 Subject: Postpone the y2k38 problem from 2004 to Jan 7 2038. --- src/manager.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/manager.rs b/src/manager.rs index 3e7dc5f..4b7df6a 100644 --- a/src/manager.rs +++ b/src/manager.rs @@ -200,7 +200,7 @@ impl Manager { public_key: model::Key, ts: SystemTime, ) -> (model::Config, Vec, SystemTime) { - let mut t_cfg = ts + Duration::from_secs(1 << 30); + let mut t_cfg = ts + Duration::from_secs(1 << 20); let mut sources: Vec<(&Source, &proto::SourceConfig)> = vec![]; for src in &self.sources { let sc = src -- cgit