naz

Results 22 issues of naz

When running bthreads with `BTHREADS_BACKEND = 'child_process';` configuration `stdin.unref` error pops up from time to time without clear reproduction scenario. ``` stdin.unref is not a function ---------------------------------------- TypeError: stdin.unref is...

### Problem There's a need to track, discuss, and document best approaches around adding jobs persistence layer on top of bree. This issue is a focused continuation of [this comment](https://github.com/breejs/bree/issues/17#issuecomment-667489208):...

documentation

The problem I'm facing is a confusing (from job developer perspective) use of the data (`workerData`) passed into the worker. After looking closer into how [workerData](https://github.com/breejs/bree/blob/a8f7b13bd33c2f0a982ae28ec27278877fcdf829/src/index.js#L601-L612) parameter is constructed, I...

## Problem Executing jobs on a separate thread through worker_thread or in a separate process comes with a price of additional memory allocation and time taken to spawn up a...

enhancement

### Problem Graceful thread termination is currently relying on correct handling of ['cancel'](https://github.com/breejs/bree/blob/bed0df4a799b4a08dc20233baf64fbea2cd562e8/src/index.js#L809-L812) event inside of the job, which allows for hanging thread termination if job was incorrectly implemented. ###...

enhancement

Was looking into how resource intensive worker creation is through bree. I did not come across concrete numbers of the overhead associated with [worker_thread instantiation](https://github.com/breejs/bree/blob/d63322027a4e939a9a24fa9d3011e884dab5f807/src/index.js#L609). Based on the reference below...

enhancement

## Problem Test [coverage is turned off](https://github.com/breejs/bree/blob/ef8a363df0bf4652cf027d4ed1d54a9f85f0d465/src/index.js#L655-L657) for `messageerror` events with a comment to fix it: > // NOTE: you cannot catch messageerror since it is a Node internal //...

help wanted

refs https://github.com/bunkat/later/issues/174 ### Problem As pointed out in referenced issue there is no error detection logic in [later.parse.cron](https://breejs.github.io/later/parsers.html#cron) function. This introduced an inconsistency with how [later.parse.text](https://breejs.github.io/later/parsers.html#text) behave when invalid values...

### Problem admin-api-schema's `get()` method returns raw json schemas without resolving definitions used in `$ref`. This makes get method hardly usable if somebody needs to see whole schema (for example...

enhancement

### Problem `url-utils` package has too many intermingled functions in a single `index.js` file. ### Goal Have package build from a set of smaller functions which would be as [pure](https://en.wikipedia.org/wiki/Pure_function)...

enhancement
help wanted
cleanup