Changing packet dispatch, packets dying on gateway and not being relayed
This commit is contained in:
@@ -8,7 +8,8 @@ namespace SOR.Gateway;
|
||||
/// {
|
||||
/// "Gateway": {
|
||||
/// "AuthTimeoutMs": 10000,
|
||||
/// "MaxMessagesPerSecond": 20
|
||||
/// "MaxMessagesPerSecond": 20,
|
||||
/// "RemoteDispatchTimeoutMs": 3000
|
||||
/// }
|
||||
/// }
|
||||
/// </summary>
|
||||
@@ -37,4 +38,11 @@ public sealed class GatewayOptions
|
||||
/// This option is defined now so configuration is in place before enforcement is added.
|
||||
/// </summary>
|
||||
public int MaxMessagesPerSecond { get; set; } = 20;
|
||||
|
||||
/// <summary>
|
||||
/// Maximum time the Gateway waits for an internal worker to reply to a relayed
|
||||
/// client message before returning an error to the client.
|
||||
/// Default: 3 seconds.
|
||||
/// </summary>
|
||||
public int RemoteDispatchTimeoutMs { get; set; } = 3_000;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user