diff options
Diffstat (limited to 'buildstream/_scheduler/queues/buildqueue.py')
-rw-r--r-- | buildstream/_scheduler/queues/buildqueue.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/_scheduler/queues/buildqueue.py b/buildstream/_scheduler/queues/buildqueue.py index 8902d9adf..6e7ce04aa 100644 --- a/buildstream/_scheduler/queues/buildqueue.py +++ b/buildstream/_scheduler/queues/buildqueue.py @@ -101,7 +101,7 @@ class BuildQueue(Queue): # If the estimated size outgrows the quota, ask the scheduler # to queue a job to actually check the real cache size. # - if artifacts.get_approximate_cache_size() > artifacts.cache_quota: + if artifacts.get_quota_exceeded(): self._scheduler.check_cache_size() def done(self, job, element, result, success): |