Switched to backlite for task queues.
This commit is contained in:
parent
bce426dd0a
commit
5a6cec5294
11 changed files with 91 additions and 372 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue