Concurrency Controls
Last updated
Last updated
Sometimes, you want to run multiple tasks but you don't want them all to run at once. Instead of starting them one by one, Lyra offers a feature called Concurrency Controls.
With concurrency controls you can control how many tasks run at once, and the delay in between those tasks running.
Concurrent tasks: The maximum amount of tasks that can run at once. 0 means all tasks can run at once.
Concurrency delay: The amount of time that the bot has to wait once the bot can start a new task. (in seconds)