Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for signalservice (0.24 sec)

  1. cmd/notification.go

    			continue
    		}
    		client := client
    		ng.Go(GlobalContext, func() error {
    			return client.SignalService(serviceReloadDynamic, subSys, false, nil)
    		}, idx, *client.host)
    	}
    	return ng.Wait()
    }
    
    // SignalService - calls signal service RPC call on all peers.
    func (sys *NotificationSys) SignalService(sig serviceSignal) []NotificationPeerErr {
    	ng := WithNPeers(len(sys.peerClients))
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
  2. cmd/peer-rest-client.go

    	if err != nil {
    		return err
    	}
    	defer xhttp.DrainBody(respBody)
    	return nil
    }
    
    // SignalService - sends signal to peer nodes.
    func (client *peerRESTClient) SignalService(sig serviceSignal, subSys string, dryRun bool, execAt *time.Time) error {
    	values := grid.NewMSS()
    	values.Set(peerRESTSignal, strconv.Itoa(int(sig)))
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  3. cmd/admin-handlers.go

    			}
    			client := client
    			ng.Go(ctx, func() error {
    				prs, ok := peerResults[client.String()]
    				// We restart only on success, not for any failures.
    				if ok && prs.Err == "" {
    					return client.SignalService(serviceRestart, "", dryRun, &startTime)
    				}
    				return nil
    			}, idx, *client.host)
    		}
    
    		for _, nerr := range ng.Wait() {
    			if nerr.Err != nil {
    				waitingDrives := map[string]madmin.DiskMetrics{}
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  4. cmd/peer-rest-server.go

    	if t := vars.Get(peerRESTExecAt); t != "" {
    		execAt, err := time.Parse(time.RFC3339Nano, vars.Get(peerRESTExecAt))
    		if err != nil {
    			logger.LogIf(GlobalContext, "signalservice", err)
    			execAt = time.Now().Add(restartUpdateDelay)
    		}
    		if d := time.Until(execAt); d > 0 {
    			time.Sleep(d)
    		}
    	}
    	signal := serviceSignal(si)
    	switch signal {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
Back to top