aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/zenserver/main.cpp')
-rw-r--r--src/zenserver/main.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/zenserver/main.cpp b/src/zenserver/main.cpp
index 8715f5447..b96118484 100644
--- a/src/zenserver/main.cpp
+++ b/src/zenserver/main.cpp
@@ -123,7 +123,7 @@ ZenEntryPoint::Run()
Entry->Pid.load(),
m_ServerOptions.OwnerPid);
- if (Entry->AddSponsorProcess(m_ServerOptions.OwnerPid))
+ if (Entry->AddSponsorProcess(m_ServerOptions.OwnerPid, 2000))
{
std::exit(0);
}
@@ -193,7 +193,8 @@ ZenEntryPoint::Run()
if (m_ServerOptions.OwnerPid)
{
- Entry->AddSponsorProcess(m_ServerOptions.OwnerPid);
+ // We are adding a sponsor process to our own entry, can't wait for pick since the code is not run until later
+ Entry->AddSponsorProcess(m_ServerOptions.OwnerPid, 0);
}
ZenServer Server;