Refactored repo organization. Added Jenkinsfile.
This commit is contained in:
17
Props.Shop/Adafruit/Persistence/Configuration.cs
Normal file
17
Props.Shop/Adafruit/Persistence/Configuration.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
namespace Props.Shop.Adafruit.Persistence
|
||||
{
|
||||
public class Configuration
|
||||
{
|
||||
public const string FILE_NAME = "config.json";
|
||||
public int MinDownloadInterval { get; set; }
|
||||
public int CacheLifespan { get; set; }
|
||||
public float Similarity { get; set; }
|
||||
|
||||
public Configuration()
|
||||
{
|
||||
MinDownloadInterval = 5 * 60 * 1000;
|
||||
Similarity = 0.8f;
|
||||
CacheLifespan = 5 * 60 * 1000;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user