aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHristo Venev <hristo@venev.name>2019-05-17 20:05:52 +0300
committerHristo Venev <hristo@venev.name>2019-05-17 20:05:52 +0300
commit34065c2281dbbc84a98b5da2f6892333959c6732 (patch)
tree866c563a0dd469cc9b6ac55fbfd340209d2a6189
parentf726eca619e352e9563697c5db14dd98a97e95de (diff)
Postpone the y2k38 problem from 2004 to Jan 7 2038.
-rw-r--r--src/manager.rs2
1 files changed, 1 insertions, 1 deletions
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<builder::ConfigError>, 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