Skip to content

Commit

Permalink
GitBook: [taskforcesh#89] No subject
Browse files Browse the repository at this point in the history
  • Loading branch information
manast authored and gitbook-bot committed Feb 15, 2022
1 parent efe9bb7 commit 99d21d1
Show file tree
Hide file tree
Showing 17 changed files with 29 additions and 5 deletions.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions docs/gitbook/.gitbook/assets/medusa-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/gitbook/.gitbook/assets/midwayjs-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/gitbook/.gitbook/assets/salesforce-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 11 additions & 1 deletion docs/gitbook/bull/introduction.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# Introduction

Bull (also called Bull v3.x) is the legacy version of BullMQ. As it is still heavily used today, it is also maintained for bugs but not for new features. If you want to use a battle tested queue library and you do not need a better typescript integration nor the latest features you are good to go using this library for years to come.
Bull is the legacy version of BullMQ. As it is still heavily used today, it is also maintained for bugs but not for new major features. If you want to use a battle-tested queue library and you do not need a better typescript integration nor the latest features you are good to go using this library for years to come.

#### Used by

Bull has been a part of the NodeJS ecosystem for a long time and is used by many organizations both in commercial and open-source projects. A few special mentions:

![](<../.gitbook/assets/Screenshot 2022-02-15 at 11.32.39 (1).png>)![](<../.gitbook/assets/mozilla-logo-bw-rgb (2).png>)![](../.gitbook/assets/autodesk-logo-white.png)![](../.gitbook/assets/midwayjs-logo.png)

![](<../.gitbook/assets/entethalliance-logo (1).png>)![](../.gitbook/assets/kisspng-logo-retail-target-corporation-advertising-5ae5ef43944c89.3404142515250184356074.png)![](../.gitbook/assets/salesforce-logo.png)

![](../.gitbook/assets/Atlassian-horizontal-blue-rgb.webp)
7 changes: 3 additions & 4 deletions docs/gitbook/guide/queues/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const queue = new Queue('Cars');
```

{% hint style="info" %}
See [Connections](connections.md) for details on how to pass Redis details to use by the queue.
See [Connections](../connections.md) for details on how to pass Redis details to use by the queue.
{% endhint %}

When you instance a Queue, BullMQ will just _upsert_ a small "meta-key", so if the queue existed before it will just pick it up and you can continue adding jobs to it.
Expand All @@ -28,11 +28,10 @@ When adding a job you can also specify an options object. This options object ca
await queue.add('paint', { colour: 'blue' }, { delay: 5000 });
```

The job will now wait **at** **least** 5 seconds before it is processed.
The job will now wait **at** **least** 5 seconds before it is processed.&#x20;

{% hint style="danger" %}
In order for delay jobs to work you need to have at least one QueueScheduler somewhere in your infrastructure. Read more [here](queuescheduler.md).
In order for delay jobs to work you need to have at least one QueueScheduler somewhere in your infrastructure. Read more [here](../queuescheduler.md).
{% endhint %}

There are many other options available such as priorities, backoff settings, lifo behaviour, remove-on-complete policies, etc. Please check the remaining of this guide for more information regarding these options.

0 comments on commit 99d21d1

Please sign in to comment.