diff options
author | Rob Austein <sra@hactrn.net> | 2016-02-25 23:04:51 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2016-02-25 23:04:51 +0000 |
commit | efc261afedb516423e4ea3ea26611015062db17a (patch) | |
tree | 98388df098e9fab4c6fccf959ad26dab3bcc401f | |
parent | b9c31ccf6c7e51272dd84113f056640ca8afd368 (diff) |
Helps to add task back into the queue when postponing, doh.
svn path=/branches/tk705/; revision=6292
-rw-r--r-- | rpki/rpkid_tasks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpki/rpkid_tasks.py b/rpki/rpkid_tasks.py index 5e7641da..d06c0520 100644 --- a/rpki/rpkid_tasks.py +++ b/rpki/rpkid_tasks.py @@ -107,6 +107,7 @@ class AbstractTask(object): self.clear() if self.postponed: logger.debug("%r: Postponing", self) + self.rpkid.task_add(self) else: logger.debug("%r: Exiting", self) if self.done_this is not None: @@ -312,7 +313,6 @@ class UpdateChildrenTask(AbstractTask): try: if (yield self.overdue()): yield publisher.call_pubd() - self.rpkid.task_add(self) raise PostponeTask child_certs = list(child.child_certs.filter(ca_detail__state = "active")) |