summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/collection/setup.sh
diff options
context:
space:
mode:
authorMartin Krizek <martin.krizek@gmail.com>2024-10-17 08:33:39 +0200
committerGitHub <noreply@github.com>2024-10-17 08:33:39 +0200
commit42e2f09b97c8b98ef4f069db3b49585245576354 (patch)
treeee6d712124ef79db36e369cdf2a093655b7e9899 /test/integration/targets/collection/setup.sh
parentRemove configuration options that were moved to inventory plugins now that an... (diff)
downloadansible-42e2f09b97c8b98ef4f069db3b49585245576354.tar.xz
ansible-42e2f09b97c8b98ef4f069db3b49585245576354.zip
Faster host removal from a handler (#84091)
In ``Handler.notify_host`` we ensure that ``Handler.notified_hosts`` can contain particular host at most once. Therefore for removing a host it should be faster to use ``list.remove`` which removes the first item in the list, as opposed to using list comprehension removing all such items.
Diffstat (limited to 'test/integration/targets/collection/setup.sh')
0 files changed, 0 insertions, 0 deletions