2020-06-06 00:14:42 -04:00
|
|
|
|
namespace BirdsiteLive.Common.Settings
|
2020-03-21 17:11:35 -04:00
|
|
|
|
{
|
|
|
|
|
public class InstanceSettings
|
|
|
|
|
{
|
2021-01-20 01:13:39 -05:00
|
|
|
|
public string Name { get; set; }
|
2020-03-21 17:11:35 -04:00
|
|
|
|
public string Domain { get; set; }
|
2020-07-08 18:41:47 -04:00
|
|
|
|
public string AdminEmail { get; set; }
|
2021-01-15 01:42:05 -05:00
|
|
|
|
public bool ResolveMentionsInProfiles { get; set; }
|
2021-01-22 18:31:30 -05:00
|
|
|
|
public bool PublishReplies { get; set; }
|
2021-02-27 22:12:50 -05:00
|
|
|
|
|
|
|
|
|
public string UnlistedTwitterAccounts { get; set; }
|
2021-07-16 11:47:52 -06:00
|
|
|
|
public string SensitiveTwitterAccounts { get; set; }
|
2021-11-15 23:29:39 -05:00
|
|
|
|
|
|
|
|
|
public int FailingTwitterUserCleanUpThreshold { get; set; }
|
2022-02-02 21:33:45 -05:00
|
|
|
|
public int FailingFollowerCleanUpThreshold { get; set; } = -1;
|
2022-02-03 19:01:21 -05:00
|
|
|
|
|
2023-03-18 16:16:03 -04:00
|
|
|
|
public int UserCacheCapacity { get; set; } = 20_000;
|
2023-03-17 15:10:53 -04:00
|
|
|
|
public int TweetCacheCapacity { get; set; } = 20_000;
|
2023-01-20 12:53:30 -05:00
|
|
|
|
public int ParallelTwitterRequests { get; set; } = 10;
|
2023-02-22 11:54:03 -05:00
|
|
|
|
public int ParallelFediversePosts { get; set; } = 10;
|
2020-03-21 17:11:35 -04:00
|
|
|
|
}
|
2021-07-16 11:47:52 -06:00
|
|
|
|
}
|