New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@cubejs-backend/query-orchestrator

Package Overview
Dependencies
Maintainers
2
Versions
489
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cubejs-backend/query-orchestrator - npm Package Compare versions

Comparing version 0.19.6 to 0.19.7

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

## [0.19.7](https://github.com/cube-js/cube.js/compare/v0.19.6...v0.19.7) (2020-04-14)
### Bug Fixes
* Associate Queue storage error with requestId ([ec2750e](https://github.com/cube-js/cube.js/commit/ec2750e))
## [0.19.6](https://github.com/cube-js/cube.js/compare/v0.19.5...v0.19.6) (2020-04-14)

@@ -8,0 +19,0 @@

13

orchestrator/QueryQueue.js

@@ -211,6 +211,12 @@ const R = require('ramda');

const redisClient = await this.queueDriver.createConnection();
let insertedCount;
// eslint-disable-next-line no-unused-vars
let removedCount;
let activeKeys;
let queueSize;
let query;
let processingLockAcquired;
try {
const processingId = await redisClient.getNextProcessingId();
// eslint-disable-next-line no-unused-vars
const [insertedCount, removedCount, activeKeys, queueSize, query, processingLockAcquired] =
[insertedCount, removedCount, activeKeys, queueSize, query, processingLockAcquired] =
await redisClient.retrieveForProcessing(queryKey, processingId);

@@ -321,3 +327,4 @@ if (query && insertedCount && activeKeys.indexOf(this.redisHash(queryKey)) !== -1 && processingLockAcquired) {

this.logger('Queue storage error', {
queryKey,
queryKey: query && query.queryKey || queryKey,
requestId: query && query.requestId,
error: (e.stack || e).toString(),

@@ -324,0 +331,0 @@ queuePrefix: this.redisQueuePrefix

@@ -5,3 +5,3 @@ {

"author": "Statsbot, Inc.",
"version": "0.19.6",
"version": "0.19.7",
"repository": {

@@ -29,3 +29,3 @@ "type": "git",

"license": "Apache-2.0",
"gitHead": "ed23d4e1dcfd209ee86cf1d604a7567b2efd23d3"
"gitHead": "4d0aa40285ac2f8003102ec95100cbbfa0b8ce62"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc