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

@ -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)