@cubejs-backend/query-orchestrator
Advanced tools
Comparing version 0.18.5 to 0.18.6
@@ -6,2 +6,13 @@ # Change Log | ||
## [0.18.6](https://github.com/cube-js/cube.js/compare/v0.18.5...v0.18.6) (2020-03-16) | ||
### Bug Fixes | ||
* Waiting for query isn't logged for Local Queue when query is already in progress ([e7be6d1](https://github.com/cube-js/cube.js/commit/e7be6d1)) | ||
## [0.18.5](https://github.com/cube-js/cube.js/compare/v0.18.4...v0.18.5) (2020-03-15) | ||
@@ -8,0 +19,0 @@ |
@@ -54,3 +54,3 @@ const R = require('ramda'); | ||
const resultListKey = this.resultListKey(queryKey); | ||
if (this.resultPromises[resultListKey]) { | ||
if (this.resultPromises[resultListKey] && this.resultPromises[resultListKey].resolved) { | ||
return this.getResultBlocking(queryKey); | ||
@@ -129,2 +129,3 @@ } | ||
delete this.processingLocks[key]; | ||
promise.resolved = true; | ||
promise.resolve(executionResult); | ||
@@ -131,0 +132,0 @@ return true; |
@@ -5,3 +5,3 @@ { | ||
"author": "Statsbot, Inc.", | ||
"version": "0.18.5", | ||
"version": "0.18.6", | ||
"repository": { | ||
@@ -29,3 +29,3 @@ "type": "git", | ||
"license": "Apache-2.0", | ||
"gitHead": "fbab334741d31f373e62d623f307e2b19b1576a8" | ||
"gitHead": "a834d1c8f7bcc8689ff4d939462c0e58d987c1b9" | ||
} |
161169
2316