Skip to content

Commit

Permalink
feat: Log queue state on Waiting for query
Browse files Browse the repository at this point in the history
  • Loading branch information
paveltiunov committed Apr 13, 2020
1 parent edf2461 commit 395c63c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/cubejs-query-orchestrator/orchestrator/QueryQueue.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ class QueryQueue {
queryKey: queryDef.queryKey,
queuePrefix: this.redisQueuePrefix,
requestId: options.requestId,
activeQueryKeys: active,
toProcessQueryKeys: toProcess,
active: active.indexOf(redisClient.redisHash(queryKey)) !== -1,
queueIndex: toProcess.indexOf(redisClient.redisHash(queryKey)),
waitingForRequestId: queryDef.requestId
Expand Down

0 comments on commit 395c63c

Please sign in to comment.