diff options
author | James Ennis <james.ennis@codethink.co.uk> | 2019-07-12 14:12:27 +0100 |
---|---|---|
committer | bst-marge-bot <marge-bot@buildstream.build> | 2019-07-16 09:13:39 +0000 |
commit | a163b64a5da7a58092eb4f04020e5fc520d5f75b (patch) | |
tree | d7b6dbaea2e7c2502fc783780335bf3fca6ce5df /tests/artifactcache | |
parent | 452fdce3d0f80e1fec671237c97d7e43b0773d5f (diff) | |
download | buildstream-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')
0 files changed, 0 insertions, 0 deletions