Repository navigation
v2.8.1
·
24 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
A fix for CPU bound tasks run with the exec command of the task manager CLI.
Improvements and fixes
- Running a CPU bound task with
execoutside a consumer no longer spawns a
further subprocess: the command calls the function the task was declared
with directly, in its own process. A CPU bound task keeps that function
wherever it is loaded, so the same task object works both in the consumer
and in the subprocess it spawns
(#117). - TaskManager.execute
acceptsin_process=Trueto run a CPU bound task in the current process
instead of spawning one for it
(#117).