mirror of
https://github.com/aliasvault/aliasvault.git
synced 2026-05-16 12:29:01 -04:00
Make TaskRunner compile (#221)
This commit is contained in:
@@ -12,9 +12,9 @@ namespace AliasVault.TaskRunner;
|
||||
/// </summary>
|
||||
public class Config
|
||||
{
|
||||
// TODO: update config properties to only use the ones that are needed for TaskRunner.
|
||||
|
||||
/// <summary>
|
||||
/// TODO: update config properties to only use the ones that are needed for TaskRunner.
|
||||
/// TOOD: If none are needed, remove this class.
|
||||
/// Gets or sets whether TLS is enabled for the SMTP service.
|
||||
/// </summary>
|
||||
public string SmtpTlsEnabled { get; set; } = "false";
|
||||
|
||||
@@ -9,6 +9,7 @@ using System.Reflection;
|
||||
using AliasServerDb;
|
||||
using AliasServerDb.Configuration;
|
||||
using AliasVault.Logging;
|
||||
using AliasVault.TaskRunner;
|
||||
using AliasVault.TaskRunner.Workers;
|
||||
using AliasVault.WorkerStatus.ServiceExtensions;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
@@ -17,5 +17,6 @@ public class TaskRunnerWorker(ILogger<TaskRunnerWorker> logger) : BackgroundServ
|
||||
protected override async Task ExecuteAsync(CancellationToken stoppingToken)
|
||||
{
|
||||
logger.LogWarning("AliasVault.TaskRunnerWorker started at: {Time}", DateTimeOffset.Now);
|
||||
await Task.Delay(1000);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user