Refactored Worker to inject JobStateManager and use the full WorkerOptions object. Now, FinalizeDocumentJob only runs if its state is State.Running. Delay is also read from options, improving configuration and control over job execution.
1.4 KiB
1.4 KiB