diff options
| author | Joe Kirchoff <[email protected]> | 2022-03-17 09:55:09 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-03-17 09:55:09 -0700 |
| commit | 7466cb93fbb9f4082dc253a328222dac8bbe58e4 (patch) | |
| tree | 2b60020b7ab15867bfabf135bf8217aabe553c6d /zenserver/config.h | |
| parent | Introduced basic validation of the clang-format version (diff) | |
| download | zen-7466cb93fbb9f4082dc253a328222dac8bbe58e4.tar.xz zen-7466cb93fbb9f4082dc253a328222dac8bbe58e4.zip | |
Update horde compute to use Jupiter for storage (#60)
Diffstat (limited to 'zenserver/config.h')
| -rw-r--r-- | zenserver/config.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/zenserver/config.h b/zenserver/config.h index fd569bdb1..a7a7815a8 100644 --- a/zenserver/config.h +++ b/zenserver/config.h @@ -33,6 +33,19 @@ struct ZenUpstreamJupiterConfig bool UseLegacyDdc = false; }; +struct ZenUpstreamHordeConfig +{ + std::string Name; + std::string Url; + std::string OAuthUrl; + std::string OAuthClientId; + std::string OAuthClientSecret; + std::string OpenIdProvider; + std::string AccessToken; + std::string Cluster; + std::string Namespace; +}; + struct ZenUpstreamZenConfig { std::string Name; @@ -51,6 +64,7 @@ enum class UpstreamCachePolicy : uint8_t struct ZenUpstreamCacheConfig { ZenUpstreamJupiterConfig JupiterConfig; + ZenUpstreamHordeConfig HordeConfig; ZenUpstreamZenConfig ZenConfig; int32_t UpstreamThreadCount = 4; int32_t ConnectTimeoutMilliseconds = 5000; @@ -106,6 +120,7 @@ struct ZenServerOptions bool IsTest = false; bool IsDedicated = false; // Indicates a dedicated/shared instance, with larger resource requirements bool StructuredCacheEnabled = true; + bool ComputeServiceEnabled = true; bool ShouldCrash = false; // Option for testing crash handling bool IsFirstRun = false; bool NoSentry = false; |