aboutsummaryrefslogtreecommitdiff
path: root/zenserver/upstream/upstreamcache.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-09-20 14:03:41 +0200
committerStefan Boberg <[email protected]>2021-09-20 14:03:55 +0200
commitc199ec351e98b876ba90651e209791fa2929c476 (patch)
tree52e4a7ae739d7bd4d6e2c464706c21fb168caaf8 /zenserver/upstream/upstreamcache.cpp
parentResolved merge from main (diff)
downloadzen-c199ec351e98b876ba90651e209791fa2929c476.tar.xz
zen-c199ec351e98b876ba90651e209791fa2929c476.zip
clang-format
Diffstat (limited to 'zenserver/upstream/upstreamcache.cpp')
-rw-r--r--zenserver/upstream/upstreamcache.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/zenserver/upstream/upstreamcache.cpp b/zenserver/upstream/upstreamcache.cpp
index 5b7680be2..d6b6d44be 100644
--- a/zenserver/upstream/upstreamcache.cpp
+++ b/zenserver/upstream/upstreamcache.cpp
@@ -108,7 +108,7 @@ namespace detail {
virtual bool Initialize() override
{
- CloudCacheSession Session(m_Client);
+ CloudCacheSession Session(m_Client);
const CloudCacheResult Result = Session.Authenticate();
return Result.Success;
}
@@ -120,7 +120,7 @@ namespace detail {
try
{
CloudCacheSession Session(m_Client);
- CloudCacheResult Result;
+ CloudCacheResult Result;
if (m_UseLegacyDdc && Type == ZenContentType::kBinary)
{
@@ -184,7 +184,7 @@ namespace detail {
{
try
{
- CloudCacheSession Session(m_Client);
+ CloudCacheSession Session(m_Client);
const CloudCacheResult Result = Session.GetCompressedBlob(PayloadKey.PayloadId);
return {.Value = Result.Response,
@@ -358,9 +358,9 @@ namespace detail {
try
{
ZenStructuredCacheSession Session(*m_Client);
- ZenCacheResult Result;
- int64_t TotalBytes = 0ull;
- double TotalElapsedSeconds = 0.0;
+ ZenCacheResult Result;
+ int64_t TotalBytes = 0ull;
+ double TotalElapsedSeconds = 0.0;
if (CacheRecord.Type == ZenContentType::kCbPackage)
{
@@ -440,7 +440,7 @@ namespace detail {
}
private:
- std::string m_DisplayName;
+ std::string m_DisplayName;
RefPtr<ZenStructuredCacheClient> m_Client;
};
@@ -716,15 +716,15 @@ private:
spdlog::logger& Log() { return m_Log; }
- spdlog::logger& m_Log;
- UpstreamCacheOptions m_Options;
- ZenCacheStore& m_CacheStore;
- CidStore& m_CidStore;
- UpstreamQueue m_UpstreamQueue;
- UpstreamStats m_Stats;
+ spdlog::logger& m_Log;
+ UpstreamCacheOptions m_Options;
+ ZenCacheStore& m_CacheStore;
+ CidStore& m_CidStore;
+ UpstreamQueue m_UpstreamQueue;
+ UpstreamStats m_Stats;
std::vector<std::unique_ptr<UpstreamEndpoint>> m_Endpoints;
- std::vector<std::thread> m_UpstreamThreads;
- std::atomic_bool m_IsRunning{false};
+ std::vector<std::thread> m_UpstreamThreads;
+ std::atomic_bool m_IsRunning{false};
};
//////////////////////////////////////////////////////////////////////////