retries failed acme orders after 10 minutes

This commit is contained in:
Joe Bryan 2018-11-02 01:37:02 -04:00
parent f74a2d32de
commit 039c5c8d41

View File

@ -744,14 +744,19 @@
::
%invalid
~& [%check-order-fail %invalid wir rep]
:: XX check authz for debug info
:: XX get the failure reason
:: XX check authz, get the failure reason
:: XX possible to retry any reasons?
:: XX send notification somehow?
:: XX create new order for domain?
::
?> ?=(^ rod)
this(rod ~, fal.hit [u.rod fal.hit])
:: save failed order for future autopsy
::
=. fal.hit [u.rod fal.hit]
:: copy order domain(s), clear order, try again soon
::
:: XX backoff, count retries, how long, etc.
::
(retry:effect(rod ~, pen `dom.u.rod) /new-order (add now.bow ~m10))
:: initial order state
::
%pending