Skip to content

1.15.1 - Run until no more work is pending

Compare
Choose a tag to compare
@penny-for-vapor penny-for-vapor released this 22 Aug 12:36
· 4 commits to main since this release
d867b5b

What's Changed

Run until no more work is pending by @danpalmer in #134

First pass at fixing #124.

Currently, every refresh interval, workers run a single task. This means that the maximum task throughput in the refresh interval is the number of workers.

With this change, every refresh interval, workers run tasks until there are no more tasks. This means that task throughput is tied to the speed of processing tasks, rather than just the number of workers.

Open to feedback about the approach, and I haven’t added any tests here yet. This is a fairly major behavioural change, but should result in a large speed increase for most users.

This patch was released by @0xTim

Full Changelog: 1.15.0...1.15.1