diff options
author | Rob Austein <sra@hactrn.net> | 2009-09-26 00:07:57 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2009-09-26 00:07:57 +0000 |
commit | 579ccda41e8fdbdf32e9fbfa3f7568a57ea69110 (patch) | |
tree | 774edfe9f06d2c007badaf0ec13f670e6a2d9318 | |
parent | 54638ce745c72ee71d03fb7aa9c642f2aa83d15f (diff) |
Doh, get timeout test right.
svn path=/rpkid/rpki/rpki_engine.py; revision=2789
-rw-r--r-- | rpkid/rpki/rpki_engine.py | 2 |
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 |