diff options
| author | Stefan Boberg <[email protected]> | 2023-01-26 09:56:08 +0100 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2023-01-26 09:56:52 +0100 |
| commit | c3b906dec4589d0b06f4387dce26dd79a988c269 (patch) | |
| tree | 96e3947b7f76e3b255b21c2f70831ce121191492 /zenserver/zenserver.cpp | |
| parent | fix gc logging (#213) (diff) | |
| download | zen-c3b906dec4589d0b06f4387dce26dd79a988c269.tar.xz zen-c3b906dec4589d0b06f4387dce26dd79a988c269.zip | |
removed experimental mesh code
should be replaced with a proper implementation later
Diffstat (limited to 'zenserver/zenserver.cpp')
| -rw-r--r-- | zenserver/zenserver.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/zenserver/zenserver.cpp b/zenserver/zenserver.cpp index cf3d90324..c1e82f404 100644 --- a/zenserver/zenserver.cpp +++ b/zenserver/zenserver.cpp @@ -303,17 +303,6 @@ public: ZEN_INFO("NOT instantiating structured cache service"); } -#if ZEN_ENABLE_MESH - if (ServerOptions.MeshEnabled) - { - StartMesh(EffectiveBasePort); - } - else - { - ZEN_INFO("NOT starting mesh"); - } -#endif - m_Http->RegisterService(m_TestService); // NOTE: this is intentionally not limited to test mode as it's useful for diagnostics m_Http->RegisterService(m_TestingService); m_Http->RegisterService(m_AdminService); @@ -374,14 +363,6 @@ public: void InitializeStructuredCache(const ZenServerOptions& ServerOptions); void InitializeCompute(const ZenServerOptions& ServerOptions); -#if ZEN_ENABLE_MESH - void StartMesh(int BasePort) - { - ZEN_INFO("initializing mesh discovery"); - m_ZenMesh.Start(uint16_t(BasePort)); - } -#endif - void Run() { // This is disabled for now, awaiting better scheduling @@ -611,7 +592,6 @@ private: std::unique_ptr<zen::HttpStructuredCacheService> m_StructuredCacheService; zen::HttpAdminService m_AdminService{m_GcScheduler}; zen::HttpHealthService m_HealthService; - zen::MeshTracker m_ZenMesh{m_IoContext}; #if ZEN_WITH_EXEC_SERVICES std::unique_ptr<zen::HttpLaunchService> m_HttpLaunchService; #endif // ZEN_WITH_EXEC_SERVICES |