diff options
author | Nick White <git@njw.name> | 2020-07-21 16:48:32 +0100 |
---|---|---|
committer | Nick White <git@njw.name> | 2020-07-21 16:48:32 +0100 |
commit | 6cdfec95a80258f632fa7ce4dce36000cdfeea30 (patch) | |
tree | 36952904dec2615367d7b32a8f730b46c1e64438 /preproc | |
parent | 80b49a19f921a6a3742eb7b7ec2937b872fe4d49 (diff) |
[bookpipeline] If preprocessing fails, email us and remove the job from the queue
This prevents the current situation where a failed preprocessing job
is endlessly repeated, potentially spawning thousands of ocrpage
jobs in its wake each time.
Note that the email stuff works but requires putting secrets into
.go files, so need to rewrite that to read from somewhere more
sensible like a dotfile on the host.
Diffstat (limited to 'preproc')
0 files changed, 0 insertions, 0 deletions