complete refactor
This commit is contained in:
14
Blueberry.Redmine/RedmineConfig.cs
Normal file
14
Blueberry.Redmine/RedmineConfig.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user