Skip to content

Commit 4c7aa8d

Browse files
committed
Update README.md
1 parent 7142cce commit 4c7aa8d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![Latest Version](https://img.shields.io/packagist/v/berlioz/queue-manager.svg?style=flat-square)](https://github.com/BerliozFramework/QueueManager/releases)
44
[![Software license](https://img.shields.io/github/license/BerliozFramework/QueueManager.svg?style=flat-square)](https://github.com/BerliozFramework/QueueManager/blob/1.x/LICENSE)
55
[![Build Status](https://img.shields.io/github/actions/workflow/status/BerliozFramework/QueueManager/tests.yml?branch=main&style=flat-square)](https://github.com/BerliozFramework/QueueManager/actions/workflows/tests.yml?query=branch%3Amain)
6-
[![Quality Grade](https://img.shields.io/codacy/grade/701df41ea7644c3abe548e93f0412d87/main.svg?style=flat-square)](https://www.codacy.com/manual/BerliozFramework/QueueManager)
6+
[![Quality Grade](https://img.shields.io/codacy/grade/701df41ea7644c3abe548e93f0412d87/main.svg?style=flat-square)](https://app.codacy.com/gh/BerliozFramework/QueueManager)
77
[![Total Downloads](https://img.shields.io/packagist/dt/berlioz/queue-manager.svg?style=flat-square)](https://packagist.org/packages/berlioz/queue-manager)
88

99
**Berlioz Queue Manager** is responsible for processing jobs from a queue using a job handler. It supports advanced
@@ -123,8 +123,9 @@ $options = new WorkerOptions(
123123
memoryLimit: 128, // Memory limit in MB
124124
timeLimit: 60, // Time limit in seconds
125125
killFilePath: 10, // File to kill process
126+
sleep: 2, // Sleep time between jobs in seconds
126127
stopNoJob: true, // Stop if no job
127-
sleep: 2 // Sleep time between jobs in seconds
128+
backoffTime: 0, // Time to wait before retry failed job
128129
);
129130

130131
// Create a queue instance

0 commit comments

Comments
 (0)