cross-posted from: https://lemmy.dbzer0.com/post/4695652

Just a quick update for people using pict-rs workers, to grab the latest release, and set the 2 new variables as they want them

SCAN_BYPASS_THRESHOLD (default 10): If this amount of images are waiting for scanning, pictrs-safety will start retuning “OK” for each new scan after that. This will prevent overloaded workers causing all further uploads from bouncing.

MISSING_WORKER_THRESHOLD (default 5): If this amount of seconds have passed since a scanning worker last checked in, start returning “OK” for each new scan after that. This will prevent a crashed worker from causing all images to bounce.

You can set either of these to 0 to turn off their functionality