- Node.js 版本:v12.13.1。
- 操作系统:Microsoft Windows 10 Pro,版本:10.0.18362 Build 18362
NPM 包:
"agenda": "^2.0.2", "appmetrics-dash": "^5.0.0", "avro-schema-registry": "^1.5.1", "avsc": "^5.4.16", "await-to-js": "^2.1.1", "bluebird": "^3.5.3", "body-parser": "^1.18.3", "dd-trace": "^0.12.1", "debug": "^4.1.0", "express": "^4.16.4", "express-server-status": "^1.0.3", "express-status-monitor": "^1.2.6", "json-2-csv": "^3.5.2", "kafkajs": "^1.11.0", "lodash": "^4.17.11", "moment": "^2.24.0", "mongodb": "^3.1.8", "mongoose": "^5.3.3", "mongoose-auto-increment": "^5.0.1", "qs": "6.9.0", "request": "^2.88.0", "request-promise": "^4.2.2", "sha256": "^0.2.0", "slack-node": "^0.1.8", "socket.io": "^2.2.0"
我只运行议程作业。几乎所有作业都在从其他 API 同步数据并将所有数据保存到 MongoDB。有时在我启动项目一段时间后,我会收到此错误:
(node:26128) TimeoutOverflowWarning: 2591699977 不适合 32 位有符号整数。在 jobProcessing (C:\Users\mailb\OneDrive\Desktop\DST\custom- market\node_modules\agenda\lib\utils\process-jobs.js:258:7) 在 C:\Users\mailb\OneDrive\Desktop\DST\custom-market\node_modules\agenda\lib\utils\process-jobs。 js:217:9 在 C:\Users\mailb\OneDrive\Desktop\DST\custom-market\node_modules\agenda\lib\agenda\find-and-lock-next-job.js:81:7 在 C:\ Users\mailb\OneDrive\Desktop\DST\custom-market\node_modules\agenda\node_modules\mongodb\lib\utils.js:414:17 在 C:\Users\mailb\OneDrive\Desktop\DST\custom-market\node_modules \agenda\node_modules\mongodb\lib\utils.js:401:11 在 ClientSession.endSession (C: