diff options
| author | Per Larsson <[email protected]> | 2021-09-17 17:03:17 +0200 |
|---|---|---|
| committer | Per Larsson <[email protected]> | 2021-09-17 17:03:17 +0200 |
| commit | a4527dda7b39de637f420f458462024796c2cd14 (patch) | |
| tree | e66775ef1a399c96dc858f190180eb4b04bb3ede /zenserver/upstream/upstreamcache.h | |
| parent | Added cache policy tests for CbPackage. (diff) | |
| download | zen-a4527dda7b39de637f420f458462024796c2cd14.tar.xz zen-a4527dda7b39de637f420f458462024796c2cd14.zip | |
Added upstream cache policy command line option (read|write,readonly,writeonly,disabled).
Diffstat (limited to 'zenserver/upstream/upstreamcache.h')
| -rw-r--r-- | zenserver/upstream/upstreamcache.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/zenserver/upstream/upstreamcache.h b/zenserver/upstream/upstreamcache.h index 327778452..3b054d815 100644 --- a/zenserver/upstream/upstreamcache.h +++ b/zenserver/upstream/upstreamcache.h @@ -36,7 +36,9 @@ struct UpstreamCacheRecord struct UpstreamCacheOptions { - uint32_t ThreadCount = 4; + uint32_t ThreadCount = 4; + bool ReadUpstream = true; + bool WriteUpstream = true; }; struct GetUpstreamCacheResult |