[BUG] thorium key.timeout() deletes keys one at a time instead of using match_dict
nmulcahey opened this issue · comments
nmulcahey commented
Description
https://github.com/saltstack/salt/blob/master/salt/thorium/key.py#L67 is passing each key in a loop as a match (evaluated as a glob) to delete_key(). This results in many unnecessary evaluations of the minion cache and key state. It should just construct the match_dict and deleted them all at once.