Harden NEG session handling and gate feature wiring

This commit is contained in:
2026-03-14 04:51:47 +01:00
parent e12085af2f
commit 36365710a8
8 changed files with 317 additions and 49 deletions

View File

@@ -17,7 +17,12 @@ config :parrhesia,
auth_max_age_seconds: 600,
max_outbound_queue: 256,
outbound_drain_batch_size: 64,
outbound_overflow_strategy: :close
outbound_overflow_strategy: :close,
max_negentropy_payload_bytes: 4096,
max_negentropy_sessions_per_connection: 8,
max_negentropy_total_sessions: 10_000,
negentropy_session_idle_timeout_seconds: 60,
negentropy_session_sweep_interval_seconds: 10
],
policies: [
auth_required_for_writes: false,