summaryrefslogtreecommitdiff
path: root/cmd/trimqueue?h=v0.5.3&id=923ed3d56e46bac4894f71d2c7e3d9a70c9be0e8
diff options
context:
space:
mode:
authorNick White <git@njw.name>2020-07-21 16:48:32 +0100
committerNick White <git@njw.name>2020-07-21 16:48:32 +0100
commit6cdfec95a80258f632fa7ce4dce36000cdfeea30 (patch)
tree36952904dec2615367d7b32a8f730b46c1e64438 /cmd/trimqueue?h=v0.5.3&id=923ed3d56e46bac4894f71d2c7e3d9a70c9be0e8
parent80b49a19f921a6a3742eb7b7ec2937b872fe4d49 (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 'cmd/trimqueue?h=v0.5.3&id=923ed3d56e46bac4894f71d2c7e3d9a70c9be0e8')
0 files changed, 0 insertions, 0 deletions