Skip to content

Revamped the threading evaluation of Graphs

Compare
Choose a tag to compare
@neuneck neuneck released this 27 Jan 13:36
· 44 commits to master since this release

When evaluating a Graph in "threading" mode, the higher-level API from concurrent.futures will be used, providing an easy option to control the number of threads being spawned, as well as providing more useful information in case a Node causes an Exception during evaluation.

Note that the API for the "threading" mode changed and instead of a "submission_delay", the "max_workers" keyword controls the behavior of threading evaluations.