Commit 81dfffb2 authored by Timothy Arceri's avatar Timothy Arceri

util/disk_cache: make use of the total job size limiting feature

This makes use of the total job size limiting feature added in the
previous patch.

The idea is to avoid an excessive build up in memory use due to the
use of both the UTIL_QUEUE_INIT_RESIZE_IF_FULL and
parent 156e1722
Pipeline #64764 failed with stages
in 74 minutes and 47 seconds
......@@ -1030,7 +1030,7 @@ disk_cache_put(struct disk_cache *cache, const cache_key key,
if (dc_job) {
util_queue_add_job(&cache->cache_queue, dc_job, &dc_job->fence,
cache_put, destroy_put_job, 0);
cache_put, destroy_put_job, dc_job->size);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment