Skip to content

Commit

Permalink
7.3.0 + docs
Browse files Browse the repository at this point in the history
  • Loading branch information
timgit committed May 29, 2022
1 parent e5a4e2c commit 749419b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions docs/readme.md
Expand Up @@ -55,6 +55,7 @@
- [`complete([ids])`](#completeids)
- [`fail(id [, data])`](#failid--data)
- [`fail([ids])`](#failids)
- [`notifyWorker(id)`](#notifyworkerid)
- [`getQueueSize(name [, options])`](#getqueuesizename--options)
- [`getJobById(id)`](#getjobbyidid)
- [`deleteQueue(name)`](#deletequeuename)
Expand Down Expand Up @@ -1033,6 +1034,10 @@ The promise will resolve on a successful failure state assignment, or reject if

> See comments above on `cancel([ids])` regarding when the promise will resolve or reject because of a batch operation.
## `notifyWorker(id)`

Notifies a worker by id to bypass the job polling interval (see `newJobCheckInterval`) for this iteration in the loop.

## `getQueueSize(name [, options])`

Returns the number of pending jobs in a queue by name.
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "pg-boss",
"version": "7.2.1",
"version": "7.3.0",
"description": "Queueing jobs in Node.js using PostgreSQL like a boss",
"main": "./src/index.js",
"engines": {
Expand Down

0 comments on commit 749419b

Please sign in to comment.