q-koa 13.8.18 → 13.8.19

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.
Files changed (2) hide show
  1. package/core/app.js +7 -4
  2. package/package.json +1 -1
package/core/app.js CHANGED
@@ -491,10 +491,13 @@ class APP {
491
491
 
492
492
  subscriber = client.duplicate()
493
493
  await subscriber.connect()
494
- push({
495
- appName,
496
- message: `${appName}连接redis成功,${this.config.ip}:${this.port}`,
497
- })
494
+
495
+ if (!is_dev) {
496
+ push({
497
+ appName,
498
+ message: `${appName}连接redis成功,${this.config.ip}:${this.port}`,
499
+ })
500
+ }
498
501
  } catch (e) {
499
502
  client = null
500
503
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "q-koa",
3
- "version": "13.8.18",
3
+ "version": "13.8.19",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {