Wait hint value for service startup increased
authorVictor Kirhenshtein <victor@netxms.org>
Sat, 26 Nov 2005 22:45:26 +0000 (22:45 +0000)
committerVictor Kirhenshtein <victor@netxms.org>
Sat, 26 Nov 2005 22:45:26 +0000 (22:45 +0000)
src/agent/core/service.cpp

index e375e3e..0e44fc7 100644 (file)
@@ -84,7 +84,7 @@ static VOID WINAPI AgentServiceMain(DWORD argc, LPTSTR *argv)
    status.dwWin32ExitCode = 0;
    status.dwServiceSpecificExitCode = 0;
    status.dwCheckPoint = 0;
-   status.dwWaitHint = 3000 + g_dwStartupDelay * 1000;
+   status.dwWaitHint = 10000 + g_dwStartupDelay * 1000;
    SetServiceStatus(serviceHandle, &status);
 
    // Actual initialization