Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for torrent (0.18 sec)

  1. cmd/site-replication.go

    	return sm, nil
    }
    
    // mergeWithCurrentLCConfig - merges the given ilm expiry configuration with existing for the current site and returns
    func mergeWithCurrentLCConfig(ctx context.Context, bucket string, expLCCfg *string, updatedAt time.Time) ([]byte, error) {
    	// Get bucket config from current site
    	meta, e := globalBucketMetadataSys.GetConfigFromDisk(ctx, bucket)
    	if e != nil && !errors.Is(e, errConfigNotFound) {
    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)
  2. cmd/bucket-replication.go

    			opType = replication.ObjectReplicationType
    		}
    		for _, rinfo := range rinfos.Targets {
    			if rinfo.ReplicationStatus != rinfo.PrevReplicationStatus {
    				rinfo.OpType = opType // update optype to reflect correct operation.
    				globalReplicationStats.Update(bucket, rinfo, rinfo.ReplicationStatus, rinfo.PrevReplicationStatus)
    			}
    		}
    	}
    
    	sendEvent(eventArgs{
    		EventName:  eventName,
    		BucketName: bucket,
    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)
  3. cmd/metrics-v2.go

    	sentCount          MetricName = "sent_count"
    	currTransferRate   MetricName = "current_transfer_rate"
    	avgTransferRate    MetricName = "average_transfer_rate"
    	maxTransferRate    MetricName = "max_transfer_rate"
    	credentialErrors   MetricName = "credential_errors"
    
    	currLinkLatency MetricName = "current_link_latency_ms"
    	avgLinkLatency  MetricName = "average_link_latency_ms"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  4. cmd/data-usage-cache_gen.go

    		field, bts, err = msgp.ReadMapKeyZC(bts)
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "current":
    			z.current, bts, err = msgp.ReadUint64Bytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "current")
    				return
    			}
    		case "next":
    			z.next, bts, err = msgp.ReadUint64Bytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "next")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 100.8K bytes
    - Viewed (0)
  5. cmd/object-handlers.go

    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	getObjectInfo := objectAPI.GetObjectInfo
    
    	// Check for auth type to return S3 compatible error.
    	// type to return the correct error (NoSuchKey vs AccessDenied)
    	if s3Error := checkRequestAuthType(ctx, r, policy.GetObjectAction, bucket, object); s3Error != ErrNone {
    		if getRequestAuthType(r) == authTypeAnonymous {
    			// As per "Permission" section in
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  6. cmd/server_test.go

    	// Parse the bucket modtime
    	creationTime, err := time.Parse(iso8601TimeFormat, createdBucket.CreationDate)
    	c.Assert(err, nil)
    
    	// Check if bucket modtime is consistent (not less than current time and not late more than 5 minutes)
    	timeNow := time.Now().UTC()
    	c.Assert(creationTime.Before(timeNow), true)
    	c.Assert(timeNow.Sub(creationTime) < time.Minute*5, true)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  7. cmd/object-handlers_test.go

    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    			expectedRespStatus: http.StatusBadRequest,
    			wantAPICode:        "XAmzContentChecksumMismatch",
    		},
    		// Correct crc32
    		9: {
    			bucketName:         bucketName,
    			objectName:         objectName,
    			headers:            map[string]string{"x-amz-checksum-crc32": checksumData(bytesData, crc32.New(crc32.IEEETable))},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  8. cmd/admin-handlers.go

    	zwriter, zerr := zipWriter.CreateHeader(header)
    	if zerr != nil {
    		return zerr
    	}
    	_, err := io.Copy(zwriter, bytes.NewReader(data))
    	return err
    }
    
    // getClusterMetaInfo gets information of the current cluster and
    // returns it.
    // This is not a critical function, and it is allowed
    // to fail with a ten seconds timeout, returning nil.
    func getClusterMetaInfo(ctx context.Context) []byte {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
Back to top