File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 3
3
[ ![ Latest Version] ( https://img.shields.io/packagist/v/berlioz/queue-manager.svg?style=flat-square )] ( https://github.com/BerliozFramework/QueueManager/releases )
4
4
[ ![ Software license] ( https://img.shields.io/github/license/BerliozFramework/QueueManager.svg?style=flat-square )] ( https://github.com/BerliozFramework/QueueManager/blob/1.x/LICENSE )
5
5
[ ![ 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 )
7
7
[ ![ Total Downloads] ( https://img.shields.io/packagist/dt/berlioz/queue-manager.svg?style=flat-square )] ( https://packagist.org/packages/berlioz/queue-manager )
8
8
9
9
** 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(
123
123
memoryLimit: 128, // Memory limit in MB
124
124
timeLimit: 60, // Time limit in seconds
125
125
killFilePath: 10, // File to kill process
126
+ sleep: 2, // Sleep time between jobs in seconds
126
127
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
128
129
);
129
130
130
131
// Create a queue instance
You can’t perform that action at this time.
0 commit comments