HomeClusterLabs Projects

Refactor: scheduler: make an ordering loop more efficient

Description

Refactor: scheduler: make an ordering loop more efficient

We were looping through the "first" actions, checking the "then"
resource/action each iteration, but since those don't change in the loop,
check them beforehand.

Details

Provenance
kgaillotAuthored on Jul 12 2021, 3:55 PM
Parents
rPdbfe99c15f10: Refactor: scheduler: drop unnecessary bit clearing
Branches
Unknown
Tags
Unknown

Event Timeline