summaryrefslogtreecommitdiff
path: root/cmd/rescribe/main.go
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/rescribe/main.go
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/rescribe/main.go')
0 files changed, 0 insertions, 0 deletions