feat: soft-fail on ghostscript errors in paperless

This commit is contained in:
oddlama 2024-02-02 01:55:13 +01:00
parent f8c7193bd6
commit 3a514e7711
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A

View file

@ -69,6 +69,11 @@ in {
PAPERLESS_CORS_ALLOWED_HOSTS = "https://${paperlessDomain}";
PAPERLESS_TRUSTED_PROXIES = sentinelCfg.meta.wireguard.proxy-sentinel.ipv4;
# Ghostscript is entirely bug-free.
PAPERLESS_OCR_USER_ARGS = builtins.toJSON {
continue_on_soft_render_error = true;
};
# virtiofsd doesn't send inotify events (not sure if generally, or because we
# mount the same host share on another vm (samba) and modify it there).
PAPERLESS_CONSUMER_POLLING = 1; # seconds