Added optional delay to tasks. Pool buffers when encoding.
This commit is contained in:
parent
912ae2ca6b
commit
b68f9bdf3c
8 changed files with 96 additions and 131 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue