Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 277 for udpate (0.19 sec)

  1. internal/config/heal/heal.go

    // GetWorkers returns the number of workers, -1 is none configured
    func (opts Config) GetWorkers() int {
    	configMutex.RLock()
    	defer configMutex.RUnlock()
    	return opts.DriveWorkers
    }
    
    // Update updates opts with nopts
    func (opts *Config) Update(nopts Config) {
    	configMutex.Lock()
    	defer configMutex.Unlock()
    
    	opts.Bitrot = nopts.Bitrot
    	opts.IOCount = nopts.IOCount
    	opts.Sleep = nopts.Sleep
    	opts.DriveWorkers = nopts.DriveWorkers
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  2. cmd/update-notifier_test.go

    		{3 * time.Hour, "https://my_download_url_is_huge/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "3 hours before the latest release"},
    		{-72 * time.Hour, "another_update_url", ""},
    		{0, "another_update_url", ""},
    		{time.Hour, "", ""},
    		{0 * time.Second, "my_download_url", "now"},
    		{1 * time.Second, "my_download_url", "1 second before the latest release"},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jul 31 15:36:19 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  3. cmd/metrics-resource.go

    	metric.Avg = metric.Sum / float64(metric.Count)
    	subsysMetrics[key] = metric
    
    	resourceMetricsMap[subSys] = subsysMetrics
    }
    
    // updateDriveIOStats - Updates the drive IO stats by calculating the difference between the current and latest updated values.
    func updateDriveIOStats(currentStats madmin.DiskIOStats, latestStats madmin.DiskIOStats, labels map[string]string) {
    	sectorSize := uint64(512)
    	kib := float64(1 << 10)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  4. chainable_api.go

    	"gorm.io/gorm/utils"
    )
    
    // Model specify the model you would like to run db operations
    //
    //	// update all users's name to `hello`
    //	db.Model(&User{}).Update("name", "hello")
    //	// if user's primary key is non-blank, will use it as condition, then will only update that user's name to `hello`
    //	db.Model(&user).Update("name", "hello")
    func (db *DB) Model(value interface{}) (tx *DB) {
    	tx = db.getInstance()
    	tx.Statement.Model = value
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Apr 17 03:38:55 GMT 2024
    - 14.3K bytes
    - Viewed (1)
  5. cmd/bucket-replication.go

    				ri.OpType == replication.ExistingObjectReplicationType {
    				// if metadata is not updated for some reason after replication, such as
    				// 503 encountered while updating metadata - make sure to set ReplicationStatus
    				// as Completed.
    				//
    				// Note: Replication Stats would have been updated despite metadata update failure.
    				rinfo.ReplicationAction = rAction
    				rinfo.ReplicationStatus = replication.Completed
    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. cni/pkg/nodeagent/net.go

    	}
    
    	log.Debug("calling CreateInpodRules")
    	if err := s.netnsRunner(openNetns, func() error {
    		return s.iptablesConfigurator.CreateInpodRules(&HostProbeSNATIP)
    	}); err != nil {
    		log.Errorf("failed to update POD inpod: %s/%s %v", pod.Namespace, pod.Name, err)
    		return err
    	}
    
    	log.Debug("notifying subscribed node proxies")
    	if err := s.sendPodToZtunnelAndWaitForAck(ctx, pod, openNetns); err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
  7. cmd/admin-router.go

    		// Update all MinIO servers type=2
    		adminRouter.Methods(http.MethodPost).Path(adminVersion+"/update").HandlerFunc(adminMiddleware(adminAPI.ServerUpdateV2Handler, traceAllFlag)).Queries("updateURL", "{updateURL:.*}", "type", "2")
    
    		// Deprecated: Update MinIO servers.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  8. cmd/storage-rest-common_gen.go

    			if dc.IsNil() {
    				err = dc.ReadNil()
    				if err != nil {
    					err = msgp.WrapError(err, "Update")
    					return
    				}
    				z.Update = nil
    			} else {
    				if z.Update == nil {
    					z.Update = new(dataUsageEntry)
    				}
    				err = z.Update.DecodeMsg(dc)
    				if err != nil {
    					err = msgp.WrapError(err, "Update")
    					return
    				}
    			}
    		case "f":
    			if dc.IsNil() {
    				err = dc.ReadNil()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  9. cmd/erasure-server-pool-decom_test.go

    			expectedUpdate: false,
    		},
    		{
    			meta:           meta,
    			pools:          newPools,
    			name:           "Correct-Update",
    			expectedErr:    false,
    			expectedUpdate: true,
    		},
    		{
    			meta:           meta,
    			pools:          reducedPools,
    			name:           "Correct-Update",
    			expectedErr:    false,
    			expectedUpdate: true,
    		},
    		{
    			meta:           meta,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jul 03 16:47:40 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  10. cmd/erasure-metadata.go

    	// Tags have also been extracted, we remove that as well.
    	objInfo.UserDefined = cleanMetadata(fi.Metadata)
    
    	// All the parts per object.
    	objInfo.Parts = fi.Parts
    
    	// Update storage class
    	if fi.TransitionTier != "" {
    		objInfo.StorageClass = fi.TransitionTier
    	} else if sc, ok := fi.Metadata[xhttp.AmzStorageClass]; ok {
    		objInfo.StorageClass = sc
    	} else {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 19.2K bytes
    - Viewed (1)
Back to top