一款简单易用的基础网络通讯组件库。

RateLimiterPolicyTPartitionKeyMaxLifetime 属性

最大生命周期限制。默认:60分钟。

当一个限流器在设定时间内没被使用时,会被移除销毁。

Definition

命名空间: TouchSocket.Rpc.RateLimiting
程序集: TouchSocket.Rpc.RateLimiting (在 TouchSocket.Rpc.RateLimiting.dll 中) 版本:4.0.0-beta.143+5fcca7a4e70968794985dc3793adc50531308be6
C#
public TimeSpan MaxLifetime { get; set; }

属性值

TimeSpan

参见