- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for cancelGlobalContext (0.17 seconds)
-
cmd/service.go
) // Global service signal channel. var globalServiceSignalCh = make(chan serviceSignal) // GlobalContext context that is canceled when server is requested to shut down. // cancelGlobalContext can be used to indicate server shutdown. var GlobalContext, cancelGlobalContext = context.WithCancel(context.Background()) // restartProcess starts a new process passing it the active fd's. It
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Feb 28 07:02:14 GMT 2024 - 3.8K bytes - Click Count (0) -
cmd/signals.go
stopProcess := func() bool { shutdownHealMRFWithTimeout() // this can take time sometimes, it needs to be executed // before stopping s3 operations // send signal to various go-routines that they need to quit. cancelGlobalContext() if httpServer := newHTTPServerFn(); httpServer != nil { if err := httpServer.Shutdown(); err != nil && !errors.Is(err, http.ErrServerClosed) { shutdownLogIf(context.Background(), err) } }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Sep 04 17:02:39 GMT 2024 - 3.2K bytes - Click Count (0)