fix(monitor): remove non-existent worker columns from job_run_logs query
The job_run_logs table tracks scheduled job orchestration, not individual worker jobs. Worker info (worker_id, worker_hostname) belongs on dispensary_crawl_jobs, not job_run_logs. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
43
backend/node_modules/simple-swizzle/README.md
generated
vendored
Normal file
43
backend/node_modules/simple-swizzle/README.md
generated
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
> **NOTE:** ⚠️ **Don't use this package in new projects.** It is a **huge anti-pattern** and will only confuse and annoy people who use whatever code you write with it. I wrote this in a time when Javascript and Node.js were still pretty experimental and clever things like this weren't frowned upon. I've also learned a LOT about proper API design since I wrote this package. DO. NOT. USE. THIS. PACKAGE. If you're reaching for it, please *really* reconsider your API's design.
|
||||
|
||||
---
|
||||
|
||||
# simple-swizzle [](https://travis-ci.org/Qix-/node-simple-swizzle) [](https://coveralls.io/r/Qix-/node-simple-swizzle)
|
||||
|
||||
> [Swizzle](https://en.wikipedia.org/wiki/Swizzling_(computer_graphics)) your function arguments; pass in mixed arrays/values and get a clean array
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var swizzle = require('simple-swizzle');
|
||||
|
||||
function myFunc() {
|
||||
var args = swizzle(arguments);
|
||||
// ...
|
||||
return args;
|
||||
}
|
||||
|
||||
myFunc(1, [2, 3], 4); // [1, 2, 3, 4]
|
||||
myFunc(1, 2, 3, 4); // [1, 2, 3, 4]
|
||||
myFunc([1, 2, 3, 4]); // [1, 2, 3, 4]
|
||||
```
|
||||
|
||||
Functions can also be wrapped to automatically swizzle arguments and be passed
|
||||
the resulting array.
|
||||
|
||||
```js
|
||||
var swizzle = require('simple-swizzle');
|
||||
|
||||
var swizzledFn = swizzle.wrap(function (args) {
|
||||
// ...
|
||||
return args;
|
||||
});
|
||||
|
||||
swizzledFn(1, [2, 3], 4); // [1, 2, 3, 4]
|
||||
swizzledFn(1, 2, 3, 4); // [1, 2, 3, 4]
|
||||
swizzledFn([1, 2, 3, 4]); // [1, 2, 3, 4]
|
||||
```
|
||||
|
||||
## License
|
||||
Licensed under the [MIT License](http://opensource.org/licenses/MIT).
|
||||
You can find a copy of it in [LICENSE](LICENSE).
|
||||
Reference in New Issue
Block a user