aboutsummaryrefslogtreecommitdiff
path: root/src/zenutil/include
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2024-11-14 13:12:52 +0100
committerGitHub Enterprise <[email protected]>2024-11-14 13:12:52 +0100
commit24b1719f60ce7d6b3538474f7ab131c55c7a987f (patch)
tree6fc8d9dc28cafaf91e4d59da26706e77025f0c51 /src/zenutil/include
parentSelf-hosted dashboard: Searchable oplog and links between oplog entry depende... (diff)
downloadzen-24b1719f60ce7d6b3538474f7ab131c55c7a987f.tar.xz
zen-24b1719f60ce7d6b3538474f7ab131c55c7a987f.zip
fixed some issues with ZenServerInstance::SpawnServer (#218)
* previously it would assign a child identifier twice in some cases, which would lead to confusing log output * added pid as context in debug logging when launching a process
Diffstat (limited to 'src/zenutil/include')
-rw-r--r--src/zenutil/include/zenutil/zenserverprocess.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/zenutil/include/zenutil/zenserverprocess.h b/src/zenutil/include/zenutil/zenserverprocess.h
index 6295ab5c5..75009b045 100644
--- a/src/zenutil/include/zenutil/zenserverprocess.h
+++ b/src/zenutil/include/zenutil/zenserverprocess.h
@@ -124,7 +124,9 @@ private:
void CreateShutdownEvent(int BasePort);
void SpawnServer(int BasePort, std::string_view AdditionalServerArgs, int WaitTimeoutMs);
+ void SpawnServerInternal(int ChildId, std::string_view ServerArgs, bool OpenConsole, int WaitTimeoutMs);
void OnServerReady();
+ int AssignName();
};
/** Shared system state