Skip to content

Commit 4c54873

Browse files
authoredFeb 13, 2024··
docs(guide): fix markdown syntax in prioritized jobs (#2421)
1 parent 5949b37 commit 4c54873

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎docs/gitbook/guide/jobs/prioritized.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
Jobs can also include a `priority` option. Using priorities, job processing order will be affected by the specified `priority` instead of following a FIFO or LIFO pattern.
44

55
{% hint style="warning" %}
6-
Adding prioritized jobs is a slower operation than the other types of jobs, with a complexity `O(log(n))`` relative to the number of jobs in the prioritized set in the queue.
6+
Adding prioritized jobs is a slower operation than the other types of jobs, with a complexity `O(log(n))` relative to the number of jobs in the prioritized set in the queue.
77
{% endhint %}
88

99
Note that the priorities go from `1` to `2 097 152`, where a lower number is always a **higher** priority than higher numbers.
1010

11-
Jobs without a `priority`` assigned will get the most priority.
11+
Jobs without a `priority` assigned will get the most priority.
1212

1313
```typescript
1414
import { Queue } from 'bullmq';

0 commit comments

Comments
 (0)
Please sign in to comment.