}() // On SIGTERM, stop all controllers gracefully. sigchan := make(chan os.Signal, 2) signal.Notify(sigchan, os.Interrupt, syscall.SIGTERM) sig := <-sigchan glog.Infof("Received %q signal. Shutting down...", sig) stopServer() srv.Shutdown(context.Background()) }©...
Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Cancel Create saved search Sign in Sign up Reseting focus {{ message }} lima-vm / socket_vmnet Public Notifications You must be signed in to change notification settings Fork 17 Star ...
func shutdownServerOnQuit(server *http.Server, quitCh <-chan struct{}, logger log.Logger) error { notifier := make(chan os.Signal, 1) signal.Notify(notifier, os.Interrupt, syscall.SIGTERM) select { case <-notifier: level.Info(logger).Log("msg", "received SIGINT/SIGTERM; exiting...
* You should have received a copy of the GNU General Public License along * with this program; if not, visit the http://fsf.org website. */ #include "rsync.h" #include "inums.h" #include "ifuncs.h" #include "io.h" #if defined CONFIG_LOCALE && defined HAVE_LOCALE_H...
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repositoryhttps://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/main by this push: new 76ca23090d8 CAMEL-21353: camel-core - Add possi...
g_unix_signal_add (SIGTERM, quit_cb,NULL); g_unix_signal_add (SIGINT, quit_cb,NULL); mm_info ("ModemManager (version "MM_DIST_VERSION") starting in %s bus...", mm_context_get_test_session () ?"session":"system");/* Acquire name, don't allow replacement */name_id = g_bus...
Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Cancel Create saved search Sign in Sign up Reseting focus {{ message }} lima-vm / socket_vmnet Public Notifications You must be signed in to change notification settings Fork 17 Star ...
[ENHANCEMENT] Discovery: Add prometheus_sd_discovered_targets, prometheus_sd_received_updates_total, prometheus_sd_updates_delayed_total, and prometheus_sd_updates_total metrics for discovery subsystem. #4667 [ENHANCEMENT] Discovery: Improve performance of previously slow updates of changes of targets. ...
func shutdownServerOnQuit(server *http.Server, quitCh <-chan struct{}, logger log.Logger) error { notifier := make(chan os.Signal, 1) signal.Notify(notifier, os.Interrupt, syscall.SIGTERM) select { case <-notifier: level.Info(logger).Log("msg", "received SIGINT/SIGTERM; exiting...
FTP文件服务器 Windows平台GUI软件. Contribute to venhow/FtpServer development by creating an account on GitHub.