Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for drop (0.22 sec)

  1. cmd/metacache.go

    	}
    
    	if m.status == scanStateStarted && update.status != scanStateStarted {
    		m.status = update.status
    	}
    
    	if m.status == scanStateStarted && time.Since(m.lastHandout) > metacacheMaxClientWait {
    		// Drop if client hasn't been seen for 3 minutes.
    		m.status = scanStateError
    		m.error = "client not seen"
    	}
    
    	if m.error == "" && update.error != "" {
    		m.error = update.error
    		m.status = scanStateError
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5K bytes
    - Viewed (0)
  2. cmd/data-usage-cache.go

    	// drive timeout by default is 2 minutes, we do not need to wait longer.
    	return save(name, time.Minute)
    }
    
    // dataUsageCacheVer indicates the cache version.
    // Bumping the cache version will drop data from previous versions
    // and write new data with the new version.
    const (
    	dataUsageCacheVerCurrent = 8
    	dataUsageCacheVerV7      = 7
    	dataUsageCacheVerV6      = 6
    	dataUsageCacheVerV5      = 5
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  3. cmd/admin-handlers.go

    	}
    	setEventStreamHeaders(w)
    
    	// Trace Publisher and peer-trace-client uses nonblocking send and hence does not wait for slow receivers.
    	// Keep 100k buffered channel.
    	// If receiver cannot keep up with that we drop events.
    	traceCh := make(chan []byte, 100000)
    	peers, _ := newPeerRestClients(globalEndpoints)
    	err = globalTrace.SubscribeJSON(traceOpts.TraceTypes(), traceCh, ctx.Done(), func(entry madmin.TraceInfo) bool {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  4. internal/s3select/sql/evaluate.go

    //
    // During evaluation, the query is known to be valid, as analysis is
    // complete. The only errors possible are due to value type
    // mismatches, etc.
    //
    // If an aggregation node is present as a descendant (when
    // e.prop.isAggregation is true), we call evalNode on all child nodes,
    // check for errors, but do not perform any combining of the results
    // of child nodes. The final result row is returned after all rows are
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 12K bytes
    - Viewed (0)
  5. internal/handlers/forwarder.go

    }
    
    type bufPool struct {
    	sz   int
    	pool sync.Pool
    }
    
    func (b *bufPool) Put(buf []byte) {
    	if cap(buf) < b.sz || cap(buf) > b.sz*2 {
    		// Buffer too small or will likely leak memory after being expanded.
    		// Drop it.
    		return
    	}
    	b.pool.Put(&buf)
    }
    
    func (b *bufPool) Get() []byte {
    	bufp := b.pool.Get().(*[]byte)
    	return (*bufp)[:b.sz]
    }
    
    func newBufPool(sz int) httputil.BufferPool {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 07 05:42:10 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  6. internal/config/identity/plugin/config.go

    			h.LastCheckFailure = reqStartTime
    		}
    	}
    
    	// Round the request time *down* to whole minute.
    	reqTimeMinute := reqStartTime.Truncate(time.Minute)
    	if reqTimeMinute.After(h.currentMinute.statsTime) {
    		// Drop the last full minute now, since we got a request for a time we
    		// are not yet tracking.
    		h.updateLastFullMinute(reqTimeMinute)
    	}
    	var entry *serviceRTTMinuteStats
    	switch {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.3K bytes
    - Viewed (3)
  7. cmd/bucket-replication.go

    		meta[xhttp.ContentType] = oi.ContentType
    	}
    
    	meta[xhttp.AmzObjectTagging] = oi.UserTags
    	meta[xhttp.AmzTagDirective] = "REPLACE"
    
    	if sc == "" {
    		sc = oi.StorageClass
    	}
    	// drop non standard storage classes for tiering from replication
    	if sc != "" && (sc == storageclass.RRS || sc == storageclass.STANDARD) {
    		meta[xhttp.AmzStorageClass] = sc
    	}
    
    	meta[xhttp.MinIOSourceETag] = oi.ETag
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  8. cmd/server-main.go

    	}
    
    	var err error
    	bootstrapTrace("initServerConfig", func() {
    		if err = initServerConfig(GlobalContext, newObject); err != nil {
    			var cerr config.Err
    			// For any config error, we don't need to drop into safe-mode
    			// instead its a user error and should be fixed by user.
    			if errors.As(err, &cerr) {
    				logger.FatalIf(err, "Unable to initialize the server")
    			}
    
    			// If context was canceled
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 33K bytes
    - Viewed (1)
  9. internal/grid/muxclient.go

    		if r.Err != nil {
    			if debugPrint {
    				fmt.Println("Closing mux", m.MuxID, "due to error:", r.Err)
    			}
    			m.closeLocked()
    		}
    		return true
    	default:
    		if m.stateless {
    			// Drop message if not stateful.
    			return
    		}
    		err := errors.New("INTERNAL ERROR: Response was blocked")
    		gridLogIf(m.ctx, err)
    		m.closeLocked()
    		return false
    	}
    }
    
    func (m *muxClient) close() {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  10. internal/logger/target/http/http.go

    		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
    		// we launched a new worker.
    		if mainWorker && len(h.logCh) > cap(h.logCh)/2 {
    			nWorkers := atomic.LoadInt64(&h.workers)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Mar 25 16:44:20 GMT 2024
    - 14.9K bytes
    - Viewed (0)
Back to top