【发布时间】:2018-04-11 18:24:04
【问题描述】:
我有一个基于服务结构 OWIN 的 API,它正在调用服务结构参与者。 API 在返回响应之前等待参与者完成工作。有时演员可能需要很长时间才能完成。
Actor 的默认超时为 5 分钟,我尝试使用以下方法增加操作超时:
[assembly: FabricTransportServiceRemotingProvider(MaxMessageSize = 1073741824, OperationTimeoutInSeconds = 600)]
在 API 和参与者中。但它恰好在 5 分钟后抛出超时错误。有没有其他方法可以增加服务结构服务/参与者的超时时间?
以下是我在 API 端收到的错误:
"This can happen if message is dropped when service is busy or its long running operation and taking more time than configured Operation Timeout."
【问题讨论】:
标签: c# azure azure-service-fabric