Skip to content

Commit

Permalink
docs: add more details to map move
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowgate15 committed Mar 9, 2022
1 parent bdc915b commit 1f20561
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion UPGRADING.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@

## Upgrading from 7.x to 8.0

* Some fields have been converted from Objects to Maps:
* Some fields have been converted from Objects to [Maps](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map):
* `closeWorkerAfterMs`
* `workers`
* `timeouts`
* `intervals`
* Instead of accessing them like this `bree.workers.NAME`, you should access them like this `bree.workers.get(NAME)`
* `start()` will now throw an error if the job has already started
* `config.root` now defaults to `path.join(__dirname, 'jobs')` as opposed to `path.resolve('jobs')`

0 comments on commit 1f20561

Please sign in to comment.