Implement relay auth, management, lifecycle and hardening phases
This commit is contained in:
@@ -5,6 +5,7 @@ config :parrhesia,
|
||||
max_frame_bytes: 1_048_576,
|
||||
max_event_bytes: 262_144,
|
||||
max_filters_per_req: 16,
|
||||
max_filter_limit: 500,
|
||||
max_subscriptions_per_connection: 32,
|
||||
max_event_future_skew_seconds: 900,
|
||||
max_outbound_queue: 256,
|
||||
@@ -15,12 +16,14 @@ config :parrhesia,
|
||||
auth_required_for_writes: false,
|
||||
auth_required_for_reads: false,
|
||||
min_pow_difficulty: 0,
|
||||
accept_ephemeral_events: true
|
||||
accept_ephemeral_events: true,
|
||||
mls_group_event_ttl_seconds: 300,
|
||||
management_auth_required: true
|
||||
],
|
||||
features: [
|
||||
nip_45_count: true,
|
||||
nip_50_search: false,
|
||||
nip_77_negentropy: false,
|
||||
nip_50_search: true,
|
||||
nip_77_negentropy: true,
|
||||
nip_ee_mls: false
|
||||
],
|
||||
storage: [
|
||||
|
||||
@@ -6,6 +6,8 @@ config :parrhesia, Parrhesia.Web.Endpoint,
|
||||
port: 0,
|
||||
ip: {127, 0, 0, 1}
|
||||
|
||||
config :parrhesia, enable_expiration_worker: false
|
||||
|
||||
pg_host = System.get_env("PGHOST")
|
||||
|
||||
repo_host_opts =
|
||||
|
||||
Reference in New Issue
Block a user