Files
SocialPub/PrivaPub/Infrastructure/Http/FederationOptions.cs
T

15 lines
690 B
C#
Raw Normal View History

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;
}
}