Dolda2000 GitWeb
/
utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db705a3
)
acmecert: Treat pending as processing for a few retries...
author
Fredrik Tolf
<fredrik@dolda2000.com>
Tue, 9 Nov 2021 21:12:22 +0000
(22:12 +0100)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Tue, 9 Nov 2021 21:12:22 +0000
(22:12 +0100)
Seems like a server bug, but apparently here we are.
acmecert
patch
|
blob
|
blame
|
history
diff --git
a/acmecert
b/acmecert
index
9cf9b6a
..
0ba66e2
100755
(executable)
--- a/
acmecert
+++ b/
acmecert
@@
-251,7
+251,10
@@
def authorder(acct, htconf, orderid):
elif resp["status"] == "pending":
# I don't think this should happen, but it
# does. LE bug? Anyway, just retry.
- break
+ if n < 5:
+ time.sleep(2)
+ else:
+ break
elif resp["status"] == "valid":
break
else: