Skip to content

Commit

Permalink
chore: publish v6.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
josdejong committed Feb 24, 2023
1 parent 2c4f70a commit dfc71fa
Show file tree
Hide file tree
Showing 6 changed files with 143 additions and 102 deletions.
1 change: 1 addition & 0 deletions .mocharc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'use strict';

module.exports = {
timeout: 10000,
'forbid-only': Boolean(process.env.CI)
};
11 changes: 11 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@
https://github.com/josdejong/workerpool


## 2023-02-24, version 6.4.0

- Support transferable objects (#3, #374). Thanks @Michsior14.
- Implement a new callback `onTerminate` at the worker side, which can be used
to clean up resources, and an option `workerTerminateTimeout` which forcefully
terminates a worker if it doesn't finish in time (#353, #377).
Thanks @Michsior14.
- Pass `workerThreadOpts` to the `onTerminateWorker` callback (#376).
Thanks @Michsior14.


## 2022-11-07, version 6.3.1

- Fix #318: debug ports not being released when terminating a pool.
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ Apache License
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright (C) 2014-2022 Jos de Jong wjosdejong@gmail.com
Copyright (C) 2014-2023 Jos de Jong wjosdejong@gmail.com

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
- Cancel running tasks
- Set a timeout on tasks
- Handles crashed workers
- Small: 5 kB minified and gzipped
- Small: 7 kB minified and gzipped
- Supports transferable objects (only for web workers and worker_threads)

## Why
Expand Down Expand Up @@ -506,7 +506,7 @@ To see the coverage results, open the generated report in your browser:

## License

Copyright (C) 2014-2022 Jos de Jong <wjosdejong@gmail.com>
Copyright (C) 2014-2023 Jos de Jong <wjosdejong@gmail.com>

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
Loading

0 comments on commit dfc71fa

Please sign in to comment.