收藏
回答

云函数数据库事务,返回事务忙 Transaction is busy, 怎么办?

(node:11) UnhandledPromiseRejectionWarning: Error: collection.add:fail -501001 resource system error. [ResourceUnavailable.TransactionBusy] Transaction is busy. Please check your request, but if the problem persists, contact us.

at Object.toSDKError (/var/user/node_modules/wx-server-sdk/index.js:8089:19)

at Object.checkError (/var/user/node_modules/wx-server-sdk/index.js:1422:23)

at /var/user/node_modules/wx-server-sdk/index.js:1210:33

at processTicksAndRejections (internal/process/task_queues.js:97:5)

(node:11) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)

(node:11) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

REPORT RequestId:8f02c1a7-ba87-4212-81fb-83ec4b9bab46 Duration:330ms Memory:256MB MemUsage:23.812546MB

回答关注问题邀请回答
收藏

2 个回答

登录 后发表内容