feat: make refresh interval configurable

This commit is contained in:
Stevan Freeborn
2024-08-25 17:12:26 -05:00
parent c35bcdad90
commit 4506036abf
3 changed files with 8 additions and 3 deletions
@@ -3,4 +3,5 @@ namespace SanctionsSearch.Worker.Options;
class DbOptions
{
public string DatabaseName { get; set; } = string.Empty;
public int RefreshIntervalInHours { get; set; } = 1;
}