Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 251 for Hatch (0.2 sec)

  1. cmd/batch-handlers.go

    					continue
    				}
    
    				batch = append(batch, obj)
    
    				if len(batch) < *r.Source.Snowball.Batch {
    					continue
    				}
    				writeFn(batch)
    				batch = batch[:0]
    			}
    			writeFn(batch)
    			xioutil.SafeClose(slowCh)
    		}()
    	} else {
    		slowCh = walkCh
    	}
    
    	workerSize, err := strconv.Atoi(env.Get("_MINIO_BATCH_REPLICATION_WORKERS", strconv.Itoa(runtime.GOMAXPROCS(0)/2)))
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 08 14:11:38 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  2. internal/store/batch_test.go

    	}
    	if !batch.IsFull() {
    		t.Fatal("Expected batch.IsFull to be true but got false")
    	}
    	batchLen := batch.Len()
    	if batchLen != int(limit) {
    		t.Fatalf("expected batch length to be %v but got %v", limit, batchLen)
    	}
    	keys, items, err := batch.GetAll()
    	if err != nil {
    		t.Fatalf("unable to get the items from the batch; %v", err)
    	}
    	if len(items) != int(limit) {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  3. cmd/batch-replicate.go

    	return t == BatchJobReplicateResourceMinIO
    }
    
    // Different types of batch jobs..
    const (
    	BatchJobReplicateResourceMinIO BatchJobReplicateResourceType = "minio"
    	BatchJobReplicateResourceS3    BatchJobReplicateResourceType = "s3"
    
    	// add future targets
    )
    
    // BatchJobReplicateCredentials access credentials for batch replication it may
    // be either for target or source.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Nov 22 18:51:46 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  4. cmd/batch-expire_gen.go

    Krishnan Parthasarathi <******@****.***> 1701514293 -0800
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Dec 02 10:51:33 GMT 2023
    - 19.8K bytes
    - Viewed (0)
  5. cmd/batch-handlers_gen.go

    Anis Eleuch <******@****.***> 1709837902 +0100
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Mar 07 18:58:22 GMT 2024
    - 18.1K bytes
    - Viewed (0)
  6. cmd/batch-handlers_gen_test.go

    Krishnan Parthasarathi <******@****.***> 1693333643 -0700
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Aug 29 18:27:23 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  7. internal/config/batch/batch.go

    	EnvReplicationWorkersWait   = "MINIO_BATCH_REPLICATION_WORKERS_WAIT"
    	EnvKeyRotationWorkersWait   = "MINIO_BATCH_KEYROTATION_WORKERS_WAIT"
    	EnvKeyExpirationWorkersWait = "MINIO_BATCH_EXPIRATION_WORKERS_WAIT"
    )
    
    var configMu sync.RWMutex
    
    // Config represents the batch job settings.
    type Config struct {
    	ReplicationWorkersWait time.Duration `json:"replicationWorkersWait"`
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Dec 06 09:09:22 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  8. internal/event/target/redis.go

    	if typeAvailable != "none" {
    		expectedType := "hash"
    		if r.Format == event.AccessFormat {
    			expectedType = "list"
    		}
    
    		if typeAvailable != expectedType {
    			return fmt.Errorf("expected type %v does not match with available type %v", expectedType, typeAvailable)
    		}
    	}
    
    	return nil
    }
    
    // RedisTarget - Redis target.
    type RedisTarget struct {
    	initOnce once.Init
    
    	id         event.TargetID
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 19 04:37:54 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  9. cmd/batch-job-common-types.go

    func (kv BatchJobKV) Empty() bool {
    	return kv.Key == "" && kv.Value == ""
    }
    
    // Match matches input kv with kv, value will be wildcard matched depending on the user input
    func (kv BatchJobKV) Match(ikv BatchJobKV) bool {
    	if kv.Empty() {
    		return true
    	}
    	if strings.EqualFold(kv.Key, ikv.Key) {
    		return wildcard.Match(kv.Value, ikv.Value)
    	}
    	return false
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 01 21:53:26 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  10. cmd/object-handlers-common.go

    // operation should not proceed. Preconditions supported are:
    //
    //	x-amz-copy-source-if-modified-since
    //	x-amz-copy-source-if-unmodified-since
    //	x-amz-copy-source-if-match
    //	x-amz-copy-source-if-none-match
    func checkCopyObjectPartPreconditions(ctx context.Context, w http.ResponseWriter, r *http.Request, objInfo ObjectInfo) bool {
    	return checkCopyObjectPreconditions(ctx, w, r, objInfo)
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 09 08:17:49 GMT 2024
    - 14.6K bytes
    - Viewed (0)
Back to top