使用Node-MSSQL库的事务错误

您好,我正在使用constructor(private route: activatedRoute) { } ngOnInit() { this.route.parent.params.subscribe(params => { this.pileid = params[pileid]; }); } 库向SQL Server DB中插入一些数据,该调用正在队列中执行,因此,如果调用失败,它将在mssql中重试,直到5次尝试 但是,在出现此错误消息的地方,我总是出现这种奇怪的行为:

1 min * retryAttemp

我不知道为什么会这样...这是我的代码:

ERROR: Error inserting into BASIS OLAP TransactionError: Can't acquire connection for the request. There is another request in progress.

我该怎么做才能解决这个问题?

eywe5275 回答:使用Node-MSSQL库的事务错误

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/3100511.html

大家都在问