V3
Compare changes
- ale authored
Specify a "reason" for the scheduled tasks, which will allow us to retrieve the last error for a specific certificate.
+ 18
− 9
@@ -3,6 +3,7 @@ package acmeserver
@@ -21,7 +22,8 @@ CREATE TABLE tasks (
@@ -100,9 +102,10 @@ func scanTask(rows scanSource) (int64, *Task, error) {
@@ -124,12 +127,15 @@ func scanTask(rows scanSource) (int64, *Task, error) {
@@ -151,12 +157,14 @@ func pushTask(tx *sql.Tx, t *Task, now time.Time) error {
@@ -176,7 +184,8 @@ func forceRenewal(tx *sql.Tx, hash uint64) error {