mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-08-04 20:52:27 +08:00
@ -6,7 +6,7 @@ namespace Ocelot.Configuration
|
|||||||
{
|
{
|
||||||
public LoadBalancerOptions(string type, string key, int expiryInMs)
|
public LoadBalancerOptions(string type, string key, int expiryInMs)
|
||||||
{
|
{
|
||||||
Type = type ?? nameof(NoLoadBalancer);
|
Type = string.IsNullOrWhiteSpace(type) ? nameof(NoLoadBalancer) : type;
|
||||||
Key = key;
|
Key = key;
|
||||||
ExpiryInMs = expiryInMs;
|
ExpiryInMs = expiryInMs;
|
||||||
}
|
}
|
||||||
@ -14,7 +14,7 @@ namespace Ocelot.Configuration
|
|||||||
public string Type { get; }
|
public string Type { get; }
|
||||||
|
|
||||||
public string Key { get; }
|
public string Key { get; }
|
||||||
|
|
||||||
public int ExpiryInMs { get; }
|
public int ExpiryInMs { get; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user