Configure the Queue Worker's retry and failure behavior
mainThe Queue Worker can be configured with several specialized functions to manage job lifecycles:
:proletarian/retry-strategy-fn: Defines how many times a job should be retried and the delay between attempts.:proletarian/failed-job-fn: A callback triggered when a job has exhausted all retries and is marked as permanently failed.:proletarian/on-polling-error: A handler for errors occurring during the queue polling process, allowing the worker to remain resilient.:proletarian/install-jvm-shutdown-hook?: When enabled, ensures a graceful shutdown (e.g., on Ctrl-C) and prints a summary of job outcomes.