summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--win/inspircd_namedpipe.cpp2
-rw-r--r--win/win32service.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/win/inspircd_namedpipe.cpp b/win/inspircd_namedpipe.cpp
index 06649d103..18ef9b9cb 100644
--- a/win/inspircd_namedpipe.cpp
+++ b/win/inspircd_namedpipe.cpp
@@ -36,7 +36,7 @@ void IPCThread::Run()
if (Pipe == INVALID_HANDLE_VALUE)
{
- SleepEx(500, true);
+ SleepEx(10, true);
continue;
}
diff --git a/win/win32service.cpp b/win/win32service.cpp
index ef2e0f3a4..27e6d541e 100644
--- a/win/win32service.cpp
+++ b/win/win32service.cpp
@@ -69,8 +69,8 @@ DWORD WINAPI WorkerThread(LPDWORD param)
{
char modname[MAX_PATH];
GetModuleFileName(NULL, modname, sizeof(modname));
- char* argv[] = { modname, "--nofork", "--debug" };
- smain(3, argv);
+ char* argv[] = { modname, "--nofork" };
+ smain(2, argv);
KillService();
return 0;
}