saltstack / salt

Software to automate the management and configuration of any infrastructure or application at scale. Get access to the Salt software package repository here:

Home Page:https://repo.saltproject.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] thorium key.timeout() deletes keys one at a time instead of using match_dict

nmulcahey opened this issue · comments

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.