oak-backend-base 4.1.14 → 4.1.15

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/lib/AppLoader.js +4 -1
  2. package/package.json +4 -4
package/lib/AppLoader.js CHANGED
@@ -371,7 +371,10 @@ class AppLoader extends types_1.AppLoader {
371
371
  count++;
372
372
  const start = Date.now();
373
373
  for (const w of totalWatchers) {
374
- execOne(w, start);
374
+ /**
375
+ * todo 原来这里是所有的watcher并行,会产生死锁,先改成串行,后续再优化
376
+ */
377
+ await execOne(w, start);
375
378
  }
376
379
  const duration = Date.now() - start;
377
380
  console.log(`第${count}次执行watchers,共执行${watchers.length}个,耗时${duration}毫秒`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oak-backend-base",
3
- "version": "4.1.14",
3
+ "version": "4.1.15",
4
4
  "description": "oak-backend-base",
5
5
  "main": "lib/index",
6
6
  "author": {
@@ -22,9 +22,9 @@
22
22
  "node-schedule": "^2.1.0",
23
23
  "oak-common-aspect": "^3.0.5",
24
24
  "oak-db": "^3.3.5",
25
- "oak-domain": "^5.1.15",
26
- "oak-frontend-base": "^5.3.22",
27
- "socket.io": "^4.7.2",
25
+ "oak-domain": "^5.1.16",
26
+ "oak-frontend-base": "^5.3.25",
27
+ "socket.io": "^4.8.1",
28
28
  "socket.io-client": "^4.7.2",
29
29
  "uuid": "^8.3.2"
30
30
  },