@joystick.js/node-canary 0.0.0-canary.329 → 0.0.0-canary.330
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/queues/index.js +5 -0
- package/package.json +1 -1
package/dist/app/queues/index.js
CHANGED
|
@@ -20,6 +20,11 @@ class Queue {
|
|
|
20
20
|
const queuesDatabase = database_provider || getTargetDatabaseProvider("queues");
|
|
21
21
|
const queue_queries_for_database_provider = queryMap[queuesDatabase]?.queues;
|
|
22
22
|
const db = this._getDatabaseConnection();
|
|
23
|
+
console.log({
|
|
24
|
+
queuesDatabase,
|
|
25
|
+
queue_queries_for_database_provider,
|
|
26
|
+
db
|
|
27
|
+
});
|
|
23
28
|
if (db && queue_queries_for_database_provider && typeof queue_queries_for_database_provider === "object" && !Array.isArray(queue_queries_for_database_provider)) {
|
|
24
29
|
this.db = Object.entries(queue_queries_for_database_provider || {})?.reduce((boundQueries = {}, [queryFunctionName, queryFunction]) => {
|
|
25
30
|
boundQueries[queryFunctionName] = queryFunction.bind({
|