Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GridHosts (0.05 sec)

  1. cmd/grid.go

    var globalLockGridStart = make(chan struct{})
    
    func initGlobalGrid(ctx context.Context, eps EndpointServerPools) error {
    	hosts, local := eps.GridHosts()
    	lookupHost := globalDNSCache.LookupHost
    	g, err := grid.NewManager(ctx, grid.ManagerOptions{
    		// Pass Dialer for websocket grid, make sure we do not
    		// provide any DriveOPTimeout() function, as that is not
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. cmd/endpoint.go

    	for _, ep := range l {
    		count += len(ep.Endpoints)
    	}
    	return count
    }
    
    // GridHosts will return all peers, including local.
    // in websocket grid compatible format, The local peer
    // is returned as a separate string.
    func (l EndpointServerPools) GridHosts() (gridHosts []string, gridLocal string) {
    	seenHosts := set.NewStringSet()
    	for _, ep := range l {
    		for _, endpoint := range ep.Endpoints {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 34.2K bytes
    - Viewed (0)
Back to top