Permissions, RateControl and Auditing

This commit is contained in:
2026-07-16 14:01:08 +03:00
parent 3a1b95dbc5
commit ba64a0c95a
62 changed files with 6095 additions and 2366 deletions
+4 -4
View File
@@ -847,10 +847,10 @@ public class Warehouse
else
return (T)store;
}
catch (Exception ex)
catch
{
Remove(store);
throw ex;
throw;
}
}
}
@@ -946,10 +946,10 @@ public class Warehouse
StoreConnected?.Invoke(resource as IStore);
}
catch (Exception ex)
catch
{
Remove(resource);
throw ex;
throw;
}
return resource;
@@ -29,6 +29,9 @@ public sealed class EncryptionConfiguration
/// </summary>
public sealed class ParserConfiguration
{
/// <summary>Default maximum nesting depth for TRU type metadata.</summary>
public const int DefaultMaximumTypeMetadataDepth = 64;
/// <summary>Maximum declared TDU payload retained for one packet.</summary>
public uint MaximumPacketSize { get; set; } = 8 * 1024 * 1024;
@@ -37,6 +40,12 @@ public sealed class ParserConfiguration
/// <summary>Maximum number of values decoded into one collection.</summary>
public int MaximumCollectionItems { get; set; } = 65_536;
/// <summary>
/// Maximum number of nested TRU type-metadata nodes, including the root node.
/// A value of zero disables the limit.
/// </summary>
public int MaximumTypeMetadataDepth { get; set; } = DefaultMaximumTypeMetadataDepth;
}
/// <summary>