##// END OF EJS Templates
check whether all engines are at HWM in a few places...
check whether all engines are at HWM in a few places avoids calling maybe_run on the entire queue when we know that no tasks can be run. This caused an expensive O(N) operation every time an engine just became not-full, which is every time a task finishes in the default case of HWM=1.

File last commit:

r8525:61ef7793
r10074:10694996
Show More
__init__.py
4 lines | 85 B | text/x-python | PythonLexer
try:
from jsonschema import *
except ImportError :
from _jsonschema import *