Commit 7252285f authored by yangxiaodong's avatar yangxiaodong

--no commit message

--no commit message
parent 70a4c54e
...@@ -11,5 +11,16 @@ namespace Microsoft.AspNetCore.Builder ...@@ -11,5 +11,16 @@ namespace Microsoft.AspNetCore.Builder
/// Gets or sets the <see cref="BrokerOptions"/> for the consistency system. /// Gets or sets the <see cref="BrokerOptions"/> for the consistency system.
/// </summary> /// </summary>
public BrokerOptions Broker { get; set; } = new BrokerOptions(); public BrokerOptions Broker { get; set; } = new BrokerOptions();
public long MaxPendingEventNumber { get; set; }
public int MaxPendingEventNumber32 {
get {
if (this.MaxPendingEventNumber < int.MaxValue) {
return (int)this.MaxPendingEventNumber;
}
return int.MaxValue;
}
}
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment