hashbrown

Hashbrown.AspNetCore · C# API reference

Hashbrown.AspNetCore.PostgresInterruptCleanupService

Upcoming 0.1.0-preview.2 · Unreleased

public sealed class PostgresInterruptCleanupService : Microsoft.Extensions.Hosting.BackgroundService, Microsoft.Extensions.Hosting.IHostedService, System.IDisposable

Optional application-owned idle maintenance. Start and stop with the host; no model or effect work is dispatched.

Members

PostgresInterruptCleanupService

public PostgresInterruptCleanupService(Hashbrown.AspNetCore.PostgresInterruptStore store, Microsoft.Extensions.Logging.ILogger<Hashbrown.AspNetCore.PostgresInterruptCleanupService> logger, System.TimeSpan interval, System.TimeSpan passTimeout);

Configures a cadence and bounded pass timeout. Each pass handles at most CleanupBatchSize rows per category.