Switched to backlite for task queues.

This commit is contained in:
mikestefanello 2024-07-24 21:04:32 -04:00
parent bce426dd0a
commit 5a6cec5294
11 changed files with 91 additions and 372 deletions

View file

@ -106,9 +106,9 @@ type (
// TasksConfig stores the tasks configuration
TasksConfig struct {
PollInterval time.Duration
MaxRetries int
Goroutines int
Goroutines int
ReleaseAfter time.Duration
CleanupInterval time.Duration
}
// MailConfig stores the mail configuration

View file

@ -32,9 +32,9 @@ database:
testConnection: ":memory:?_journal=WAL&_timeout=5000&_fk=true"
tasks:
pollInterval: "1s"
maxRetries: 10
goroutines: 1
releaseAfter: "15m"
cleanupInterval: "1h"
mail:
hostname: "localhost"