且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Azure函数:CosmosDBTrigger在Visual Studio中未触发

更新时间:2023-08-18 18:36:28

根据您的评论,您同时为相同的集合和相同的租约集合同时运行门户和本地Apps.

Based on your comment, you were running both portal and local Apps at the same time for the same collection and the same lease collection.

这意味着两个App都在争夺收集处理的锁(租赁).在您的情况下,门户应用程序获胜并获得了租约,因此本地应用程序无所事事.

That means both Apps were competing to each other for locks (leases) on collection processing. The portal App won in your case, took the lease, so the local App was sitting doing nothing.