diff options
Diffstat (limited to 'modules/graceful')
-rw-r--r-- | modules/graceful/manager_windows.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/graceful/manager_windows.go b/modules/graceful/manager_windows.go index e7e619f53f..10c1d67b97 100644 --- a/modules/graceful/manager_windows.go +++ b/modules/graceful/manager_windows.go @@ -114,9 +114,9 @@ func (g *Manager) start() { // Execute makes Manager implement svc.Handler func (g *Manager) Execute(args []string, changes <-chan svc.ChangeRequest, status chan<- svc.Status) (svcSpecificEC bool, exitCode uint32) { if setting.StartupTimeout > 0 { - status <- svc.Status{State: svc.StartPending} - } else { status <- svc.Status{State: svc.StartPending, WaitHint: uint32(setting.StartupTimeout / time.Millisecond)} + } else { + status <- svc.Status{State: svc.StartPending} } log.Trace("Awaiting server start-up") |