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
|
|
@ -59,7 +59,7 @@ func main() {
|
|||
// Register all task queues
|
||||
tasks.Register(c)
|
||||
|
||||
// Start the task runner to executed queued tasks
|
||||
// Start the task runner to execute queued tasks
|
||||
ctx, cancel := context.WithCancel(context.Background())
|
||||
c.Tasks.StartRunner(ctx)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue