summaryrefslogtreecommitdiff
path: root/tests/artifactcache/push.py
diff options
context:
space:
mode:
authorJames Ennis <james.ennis@codethink.co.uk>2019-07-12 14:12:27 +0100
committerbst-marge-bot <marge-bot@buildstream.build>2019-07-16 09:13:39 +0000
commita163b64a5da7a58092eb4f04020e5fc520d5f75b (patch)
treed7b6dbaea2e7c2502fc783780335bf3fca6ce5df /tests/artifactcache/push.py
parent452fdce3d0f80e1fec671237c97d7e43b0773d5f (diff)
downloadbuildstream-a163b64a5da7a58092eb4f04020e5fc520d5f75b.tar.gz
element.py: Introduce __cached_successfully
Currently Element._cached_success() will call two functions to determine whether an Element is already cached. Now, we set __cached_successfully to True once we determine that the Element is cached for the first time. This will then short-circuit upon (very frequent) future calls.
Diffstat (limited to 'tests/artifactcache/push.py')
0 files changed, 0 insertions, 0 deletions