@rpcbase/server 0.117.0 → 0.119.0
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/package.json
CHANGED
|
@@ -57,18 +57,17 @@ const register_model_emitter = (model_name) => {
|
|
|
57
57
|
})
|
|
58
58
|
|
|
59
59
|
emitter.on("close", (arg, arg2) => {
|
|
60
|
-
log("queue_listener: emitter closed, model:", model_name, "retrying")
|
|
60
|
+
console.log("queue_listener: emitter closed, model:", model_name, "retrying")
|
|
61
61
|
register_model_emitter(model_name)
|
|
62
62
|
})
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
|
|
66
|
-
|
|
67
66
|
const register_queue_listener = async() => {
|
|
68
67
|
mongoose.connection.on("open", () => {
|
|
69
68
|
console.log("CONNEC OPEN")
|
|
70
|
-
console.log("returning")
|
|
71
|
-
return
|
|
69
|
+
// console.log("returning")
|
|
70
|
+
// return
|
|
72
71
|
// register the mongoose delete plugin
|
|
73
72
|
mongoose.plugin(mongoose_delete_plugin)
|
|
74
73
|
|