- Introduced `ReachabilityState`, `RuntimeHit`, `ExploitabilitySignal`, `ReachabilitySignal`, `SignalEnvelope`, `SignalType`, `TrustSignal`, and `UnknownSymbolSignal` records to define various signal types and their properties. - Implemented JSON serialization attributes for proper data interchange. - Created project files for the new signal contracts library and corresponding test projects. - Added deterministic test fixtures for micro-interaction testing. - Included cryptographic keys for secure operations with cosign.
26 lines
768 B
C#
26 lines
768 B
C#
namespace StellaOps.Router.Config;
|
|
|
|
/// <summary>
|
|
/// Configuration for payload and memory limits.
|
|
/// </summary>
|
|
public sealed class PayloadLimits
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the maximum request bytes per call.
|
|
/// Default: 10 MB.
|
|
/// </summary>
|
|
public long MaxRequestBytesPerCall { get; set; } = 10 * 1024 * 1024;
|
|
|
|
/// <summary>
|
|
/// Gets or sets the maximum request bytes per connection.
|
|
/// Default: 100 MB.
|
|
/// </summary>
|
|
public long MaxRequestBytesPerConnection { get; set; } = 100 * 1024 * 1024;
|
|
|
|
/// <summary>
|
|
/// Gets or sets the maximum aggregate in-flight bytes across all requests.
|
|
/// Default: 1 GB.
|
|
/// </summary>
|
|
public long MaxAggregateInflightBytes { get; set; } = 1024 * 1024 * 1024;
|
|
}
|