namespace PrivaPub.Infrastructure.Http { public class FederationOptions { public bool AllowPrivateNetworks { get; set; } public bool AllowPlainHttp { get; set; } public bool SecureMode { get; set; } public bool AcceptAnyCertificate { get; set; } public bool FetchLinkPreviews { get; set; } = true;//owner decision 1: the server reads linked pages of public posts // how many received activities are processed at once, and deliveries made at once (each still at most two per host). // At two the inbox kept up with about 110 activities a second (tools/pasture/load.sh) public int InboxConcurrency { get; set; } = 8; public int DeliveryConcurrency { get; set; } = 8; // relays the instance actor subscribes to, by their actor's (or inbox's) address: their public posts come to the // federated timeline, and nothing is sent to them but the subscription public List Relays { get; set; } = new(); } }