aboutsummaryrefslogtreecommitdiff
path: root/zenserver/zenserver.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2023-01-24 22:43:18 +0100
committerStefan Boberg <[email protected]>2023-01-24 22:48:03 +0100
commit4eed3f1730c6c018d5970edb90921ba3e44f7d87 (patch)
tree910e61323e45748a3a3560b6f0619ba097e858db /zenserver/zenserver.cpp
parentremoved HttpLaunchService and related code (diff)
downloadzen-4eed3f1730c6c018d5970edb90921ba3e44f7d87.tar.xz
zen-4eed3f1730c6c018d5970edb90921ba3e44f7d87.zip
removed HttpLaunchService and related code
this was used for testing but is no longer wanted in this form
Diffstat (limited to 'zenserver/zenserver.cpp')
-rw-r--r--zenserver/zenserver.cpp30
1 files changed, 0 insertions, 30 deletions
diff --git a/zenserver/zenserver.cpp b/zenserver/zenserver.cpp
index 9ca71ed81..606047105 100644
--- a/zenserver/zenserver.cpp
+++ b/zenserver/zenserver.cpp
@@ -110,7 +110,6 @@ ZEN_THIRD_PARTY_INCLUDES_END
#include "monitoring/httpstatus.h"
#include "projectstore.h"
#include "testing/httptest.h"
-#include "testing/launch.h"
#include "upstream/upstream.h"
#include "zenstore/gc.h"
@@ -265,23 +264,6 @@ public:
m_ProjectStore = new zen::ProjectStore(*m_CidStore, m_DataRoot / "projects", m_GcManager);
m_HttpProjectService.reset(new zen::HttpProjectService{*m_CidStore, m_ProjectStore});
-#if ZEN_WITH_EXEC_SERVICES
-
- if (ServerOptions.ExecServiceEnabled)
- {
- ZEN_INFO("instantiating exec service");
-
- std::filesystem::path SandboxDir = m_DataRoot / "exec" / "sandbox";
- zen::CreateDirectories(SandboxDir);
- m_HttpLaunchService = std::make_unique<zen::HttpLaunchService>(*m_CidStore, SandboxDir);
- }
- else
- {
- ZEN_INFO("NOT instantiating exec services");
- }
-
-#endif // ZEN_WITH_EXEC_SERVICES
-
#if ZEN_WITH_COMPUTE_SERVICES
if (ServerOptions.ComputeServiceEnabled)
{
@@ -329,15 +311,6 @@ public:
m_Http->RegisterService(*m_CidService);
-#if ZEN_WITH_EXEC_SERVICES
- if (ServerOptions.ExecServiceEnabled)
- {
- if (m_HttpLaunchService != nullptr)
- {
- m_Http->RegisterService(*m_HttpLaunchService);
- }
- }
-#endif // ZEN_WITH_EXEC_SERVICES
#if ZEN_WITH_COMPUTE_SERVICES
if (ServerOptions.ComputeServiceEnabled)
{
@@ -611,9 +584,6 @@ private:
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
#if ZEN_WITH_COMPUTE_SERVICES
std::unique_ptr<zen::HttpFunctionService> m_HttpFunctionService;
#endif // ZEN_WITH_COMPUTE_SERVICES