Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 29 of 29 for Peaches (0.15 sec)

  1. cmd/metacache-set.go

    	// Keep destination...
    	// Write results to disk.
    	bw := newMetacacheBlockWriter(entries, func(b *metacacheBlock) error {
    		// if the block is 0 bytes and its a first block skip it.
    		// skip only this for Transient caches.
    		if len(b.data) == 0 && b.n == 0 && o.Transient {
    			return nil
    		}
    		o.debugln(color.Green("saveMetaCacheStream:")+" saving block", b.n, "to", o.objectPath(b.n))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:59:08 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  2. cmd/notification.go

    		go func(index int) {
    			defer wg.Done()
    			errs[index] = sys.peerClients[index].ReloadSiteReplicationConfig(ctx)
    		}(index)
    	}
    
    	wg.Wait()
    	return errs
    }
    
    // GetLastDayTierStats fetches per-tier stats of the last 24hrs from all peers
    func (sys *NotificationSys) GetLastDayTierStats(ctx context.Context) DailyAllTierStats {
    	errs := make([]error, len(sys.allPeerClients))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  3. internal/logger/target/http/http.go

    				// Even if there is nothing in the queue.
    				if time.Since(lastBatchProcess).Seconds() < 1 {
    					continue
    				}
    			}
    		}
    
    		lastBatchProcess = time.Now()
    
    	retry:
    		// If the channel reaches above half capacity
    		// we spawn more workers. The workers spawned
    		// from this main worker routine will exit
    		// once the channel drops below half capacity
    		// and when it's been at least 30 seconds since
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 25 16:44:20 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  4. internal/ioutil/ioutil.go

    			return written, io.ErrShortWrite
    		}
    
    		if totalSize > 0 && written == totalSize {
    			// we have written the entire stream, return right here.
    			return written, nil
    		}
    
    		if eof {
    			// We reached EOF prematurely but we did not write everything
    			// that we promised that we would write.
    			if totalSize > 0 && written != totalSize {
    				return written, io.ErrUnexpectedEOF
    			}
    			return written, nil
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 11:26:59 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  5. cmd/postpolicyform.go

    // (http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-HTTPPOSTConstructPolicy.html)
    func checkPostPolicy(formValues http.Header, postPolicyForm PostPolicyForm) error {
    	// Check if policy document expiry date is still not reached
    	if !postPolicyForm.Expiration.After(UTCNow()) {
    		return fmt.Errorf("Invalid according to Policy: Policy expired")
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  6. internal/store/queuestore.go

    )
    
    const (
    	defaultLimit = 100000 // Default store limit.
    	defaultExt   = ".unknown"
    )
    
    // errLimitExceeded error is sent when the maximum limit is reached.
    var errLimitExceeded = errors.New("the maximum store limit reached")
    
    // QueueStore - Filestore for persisting items.
    type QueueStore[_ any] struct {
    	sync.RWMutex
    	entryLimit uint64
    	directory  string
    	fileExt    string
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 25 16:44:20 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  7. cmd/metacache-stream.go

    	_, err := r.peek()
    	if err != nil {
    		r.err = err
    		return r.err == io.EOF
    	}
    	return false
    }
    
    // forwardTo will forward to the first entry that is >= s.
    // Will return io.EOF if end of stream is reached without finding any.
    func (r *metacacheReader) forwardTo(s string) error {
    	r.checkInit()
    	if r.err != nil {
    		return r.err
    	}
    
    	if s == "" {
    		return nil
    	}
    	if r.current.name != "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  8. cmd/admin-handlers-idp-ldap.go

    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    	writeSuccessResponseJSON(w, econfigData)
    }
    
    // AttachDetachPolicyLDAP attaches or detaches policies from an LDAP entity
    // (user or group).
    //
    // POST <admin-prefix>/idp/ldap/policy/{operation}
    func (a adminAPIHandlers) AttachDetachPolicyLDAP(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  9. cmd/data-scanner.go

    // Furthermore if a has more than dataScannerCompactAtChildren recursive children (uncompacted folders)
    // the tree will be recursively scanned and the branches with the least number of objects will be
    // compacted until the limit is reached.
    //
    // This ensures that any branch will never contain an unreasonable amount of other branches,
    // and also that small branches with few objects don't take up unreasonable amounts of space.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 47.6K bytes
    - Viewed (0)
Back to top