Skip to content

Commit

Permalink
Renamed CacheSeconds to WaitTimeBetweenDatabaseCalls
Browse files Browse the repository at this point in the history
  • Loading branch information
henryjump committed Aug 30, 2024
1 parent b117e6e commit 3c2de81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ public class MaintenanceModeSettings
public bool IsInMaintenanceMode { get; set; }
public bool IsContentFrozen { get; set; }
public StorageMode StorageMode { get; set; }
public int CacheSeconds { get; set; } = 30;
public int WaitTimeBetweenDatabaseCalls { get; set; } = 30;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public DatabaseStorageProvider(
_logger = logger;
_eventAggregator = eventAggregator;
_scopeProvider = scope;
_timeBetweenChecks = TimeSpan.FromSeconds(_maintenanceModeSettings.CacheSeconds);
_timeBetweenChecks = TimeSpan.FromSeconds(_maintenanceModeSettings.WaitTimeBetweenDatabaseCalls);
}

public async Task<MaintenanceModeStatus> Read()
Expand Down

0 comments on commit 3c2de81

Please sign in to comment.