Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 368 for dialed (0.15 sec)

  1. internal/http/dial_dnscache.go

    // function. LookupHost may implement an internal DNS caching implementation, lookupHost
    // input if nil then net.DefaultResolver.LookupHost is used.
    //
    // It dials one by one and returns first connected `net.Conn`.
    // If it fails to dial all IPs from cache it returns first error. If no baseDialFunc
    // is given, it sets default dial function.
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jul 03 19:30:51 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  2. internal/grid/debug.go

    	if err != nil {
    		return nil, err
    	}
    	dialer := &net.Dialer{
    		Timeout: 5 * time.Second,
    	}
    	var res TestGrid
    	res.Hosts = hosts
    	ready := make(chan struct{})
    	ctx, cancel := context.WithCancel(context.Background())
    	res.cancel = cancel
    	for i, host := range hosts {
    		manager, err := NewManager(ctx, ManagerOptions{
    			Dialer: dialer.DialContext,
    			Local:  host,
    			Hosts:  hosts,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 08 18:15:27 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  3. cmd/admin-heal-ops.go

    	for _, d := range res.After.Drives {
    		// For failed items we report the endpoint and drive state
    		// This will help users take corrective actions for drives
    		h.healFailedItemsMap[d.Endpoint+","+d.State]++
    	}
    
    	h.lastHealActivity = UTCNow()
    }
    
    func (h *healSequence) countHeals(healType madmin.HealItemType, healed bool) {
    	h.mutex.Lock()
    	defer h.mutex.Unlock()
    
    	if !healed {
    		h.scannedItemsMap[healType]++
    	} else {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  4. internal/grid/connection.go

    		toDial = strings.Replace(toDial, "https://", "wss://", 1)
    		toDial += RoutePath
    
    		dialer := ws.DefaultDialer
    		dialer.ReadBufferSize = readBufferSize
    		dialer.WriteBufferSize = writeBufferSize
    		dialer.Timeout = defaultDialTimeout
    		if c.dialer != nil {
    			dialer.NetDial = c.dialer.DialContext
    		}
    		if c.header == nil {
    			c.header = make(http.Header, 2)
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  5. cmd/bucket-replication.go

    // permanent deletes (by specifying a version ID in the delete operation) have three states "Pending", "Complete"
    // and "Failed" to mark the status of the replication of "DELETE" operation. All failed operations can
    // then be retried by healing. In the case of permanent deletes, until the replication is completed on the
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  6. tests/postgres_test.go

    		t.Errorf("Failed to create extension pgcrypto, got error %v", err)
    	}
    
    	DB.Migrator().DropTable(&Harumph{})
    
    	if err := DB.AutoMigrate(&Harumph{}); err != nil {
    		t.Fatalf("Failed to migrate for uuid default value, got error: %v", err)
    	}
    
    	harumph := Harumph{}
    	if err := DB.Create(&harumph).Error; err == nil {
    		t.Fatalf("should failed to create data, name can't be blank")
    	}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sat Oct 08 09:16:32 GMT 2022
    - 6.4K bytes
    - Viewed (3)
  7. cmd/bucket-replication-utils_test.go

    	},
    	{ // 4. replication status for 3 targets, one of them failed
    		name: "replication status for 3 targets - one failed",
    		rs: ReplicationState{
    			ReplicationStatusInternal: "arn1=COMPLETED;arn2=COMPLETED;arn3=FAILED;",
    			Targets:                   map[string]replication.StatusType{"arn1": "COMPLETED", "arn2": "COMPLETED", "arn3": "FAILED"},
    		},
    		expStatus: replication.Failed,
    	},
    	{ // 5. replication status for replica version
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 08 20:27:40 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  8. tests/upsert_test.go

    		t.Errorf("Failed to create, got error %v", err)
    	}
    
    	var result Language
    	if err := DB.First(&result, "code = ?", lang.Code).Error; err != nil {
    		t.Errorf("Failed to query lang, got error %v", err)
    	} else {
    		AssertEqual(t, result, lang)
    	}
    
    	lang.Name += "_new"
    	if err := DB.Save(&lang).Error; err != nil {
    		t.Errorf("Failed to create, got error %v", err)
    	}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Sep 05 07:39:19 GMT 2022
    - 11.4K bytes
    - Viewed (0)
  9. cmd/site-replication.go

    				v2.DeploymentID = v.DeploymentID
    			}
    			v2.ReplicatedCount += v.ReplicatedCount
    			v2.ReplicatedSize += v.ReplicatedSize
    			v2.Failed = v2.Failed.Add(v.Failed)
    			for k, v := range v.Failed.ErrCounts {
    				v2.Failed.ErrCounts[k] += v
    			}
    			if v2.XferStats == nil {
    				v2.XferStats = make(map[replication.MetricName]replication.XferStats)
    			}
    			for rm, x := range v.XferStats {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  10. tests/callbacks_test.go

    		t.Errorf("callbacks tests failed, got %v", msg)
    	}
    
    	createCallback.Remove("c4")
    	if ok, msg := assertCallbacks(createCallback, []string{"c3", "c2"}); !ok {
    		t.Errorf("callbacks tests failed, got %v", msg)
    	}
    
    	createCallback.Remove("c2")
    	if ok, msg := assertCallbacks(createCallback, []string{"c3"}); !ok {
    		t.Errorf("callbacks tests failed, got %v", msg)
    	}
    
    	createCallback.Remove("c3")
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Mar 26 03:33:36 GMT 2024
    - 7.2K bytes
    - Viewed (0)
Back to top