Added optional delay to tasks. Pool buffers when encoding.

This commit is contained in:
mikestefanello 2024-06-20 22:11:53 -04:00
parent 912ae2ca6b
commit b68f9bdf3c
8 changed files with 96 additions and 131 deletions

View file

@ -106,13 +106,9 @@ type (
// TasksConfig stores the tasks configuration
TasksConfig struct {
// TODO remove separate DB?
Driver string
Connection string
TestConnection string
PollInterval time.Duration
MaxRetries int
Goroutines int
PollInterval time.Duration
MaxRetries int
Goroutines int
}
// MailConfig stores the mail configuration