Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SignalConfigReload (0.16 sec)

  1. cmd/admin-handlers-config-kv.go

    	if err := applyDynamicConfigForSubSys(GlobalContext, objectAPI, cfg, subSys); err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    	globalNotificationSys.SignalConfigReload(subSys)
    	// Tell the client that dynamic config was applied.
    	w.Header().Set(madmin.ConfigAppliedHeader, madmin.ConfigAppliedTrue)
    }
    
    type badConfigErr struct {
    	Err error
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  2. cmd/notification.go

    		}
    		client := client
    		ng.Go(ctx, func() error {
    			return client.CommitBinary(ctx)
    		}, idx, *client.host)
    	}
    	return ng.Wait()
    }
    
    // SignalConfigReload reloads requested sub-system on a remote peer dynamically.
    func (sys *NotificationSys) SignalConfigReload(subSys string) []NotificationPeerErr {
    	ng := WithNPeers(len(sys.peerClients))
    	for idx, client := range sys.peerClients {
    		if client == nil {
    			continue
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
Back to top