Class TempFileCleanupService
Background service that periodically asks the active upload provider to remove expired temporary uploads and chunk sessions.
Inheritance
TempFileCleanupService
Assembly: CoreUpload.dll
Syntax
public class TempFileCleanupService : BackgroundService, IHostedService, IDisposable
Constructors
TempFileCleanupService(IServiceProvider, ILogger<TempFileCleanupService>, IOptions<CoreUploadOptions>)
Declaration
public TempFileCleanupService(IServiceProvider services, ILogger<TempFileCleanupService> logger, IOptions<CoreUploadOptions> options)
Parameters
Methods
ExecuteAsync(CancellationToken)
Runs the cleanup loop until the host is shutting down.
Declaration
protected override Task ExecuteAsync(CancellationToken stoppingToken)
Parameters
Returns
Overrides
Implements