aboutsummaryrefslogtreecommitdiff
path: root/rpkid
diff options
context:
space:
mode:
Diffstat (limited to 'rpkid')
-rw-r--r--rpkid/rpki/rpki_engine.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpkid/rpki/rpki_engine.py b/rpkid/rpki/rpki_engine.py
index c5ee2164..ec51695c 100644
--- a/rpkid/rpki/rpki_engine.py
+++ b/rpkid/rpki/rpki_engine.py
@@ -210,7 +210,7 @@ class rpkid_context(object):
if self.use_internal_cron:
- if self.cron_timeout and self.cron_timeout < now + self.cron_keepalive:
+ if self.cron_timeout and self.cron_timeout < now:
rpki.log.warn("cron keepalive threshold %s has expired, breaking lock" % self.cron_timeout)
self.cron_timeout = None