We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8e01e6 commit a79f557Copy full SHA for a79f557
src/cert.rs
@@ -107,7 +107,7 @@ impl CertFacade {
107
Some(mut cert) => {
108
// use constant variables
109
let now = to_i64(&now());
110
- let one_hour_ago = now - to_i64(&HOUR);
+ let one_hour_ago = now - HOUR as i64;
111
if cert.update < one_hour_ago {
112
cert.update = now;
113
cert.state = State::Updating;
0 commit comments