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

RateLimiterPolicyTPartitionKeyMaxLifetime 属性

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

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

Definition

命名空间: TouchSocket.Rpc.RateLimiting
程序集: TouchSocket.Rpc.RateLimiting (在 TouchSocket.Rpc.RateLimiting.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
C#
public TimeSpan MaxLifetime { get; set; }

属性值

TimeSpan

参见