14 lines
703 B
C#
14 lines
703 B
C#
namespace Blueberry.Redmine
|
|
{
|
|
public class RedmineConfig
|
|
{
|
|
public string RedmineUrl { get; set; } = "http://redmine.example.com";
|
|
public string ApiKey { get; set; } = "";
|
|
public TimeSpan ProjectCacheDuration { get; set; } = TimeSpan.FromMinutes(15);
|
|
public TimeSpan IssueCacheDuration { get; set; } = TimeSpan.FromMinutes(5);
|
|
public int MaxRetries { get; set; } = 3;
|
|
public int ConcurrencyLimit { get; set; } = 10;
|
|
public string CacheFilePath { get; set; } = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "Blueberry", "Cache", "Redmine");
|
|
public bool IsInitiating { get; set; } = false;
|
|
}
|
|
} |