Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 91 for deadlines (0.07 sec)

  1. internal/deadlineconn/deadlineconn.go

    // Package deadlineconn implements net.Conn wrapper with configured deadlines.
    package deadlineconn
    
    import (
    	"net"
    	"time"
    )
    
    const updateInterval = 250 * time.Millisecond
    
    // DeadlineConn - is a generic stream-oriented network connection supporting buffered reader and read/write timeout.
    type DeadlineConn struct {
    	net.Conn
    	readDeadline  time.Duration // sets the read deadline on a connection.
    	readSetAt     time.Time
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 26 17:40:11 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. internal/http/dial_linux.go

    		}
    		conn, err := dialer.DialContext(ctx, network, addr)
    		if err != nil {
    			return nil, err
    		}
    		if opts.DriveOPTimeout != nil {
    			// Read deadlines are sufficient for now as per various
    			// scenarios of hung node detection, we may add Write deadlines
    			// if needed later on.
    			return deadlineconn.New(conn).WithReadDeadline(opts.DriveOPTimeout()), nil
    		}
    		return conn, nil
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 23 10:53:03 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. .github/workflows/mint.yml

            run: |
              ${GITHUB_WORKSPACE}/.github/workflows/run-mint.sh "erasure" "minio" "minio123" "${{ steps.vars.outputs.sha_short }}"
    
          # FIXME: renable this back when we have a valid way to add deadlines for PUT()s (internode CreateFile)
          # - name: resiliency
          #   run: |
          #     ${GITHUB_WORKSPACE}/.github/workflows/run-mint.sh "resiliency" "minio" "minio123" "${{ steps.vars.outputs.sha_short }}"
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 04 15:12:57 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. cmd/xl-storage-disk-id-check.go

    	if err != nil {
    		return nil, err
    	}
    	defer done(0, &err)
    
    	return p.storage.ListDir(ctx, origvolume, volume, dirPath, count)
    }
    
    // Legacy API - does not have any deadlines
    func (p *xlStorageDiskIDCheck) ReadFile(ctx context.Context, volume string, path string, offset int64, buf []byte, verifier *BitrotVerifier) (n int64, err error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:56:26 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  5. cmd/globals.go

    	globalLifecycleSys       *LifecycleSys
    	globalBucketSSEConfigSys *BucketSSEConfigSys
    	globalBucketTargetSys    *BucketTargetSys
    	// globalAPIConfig controls S3 API requests throttling,
    	// healthCheck readiness deadlines and cors settings.
    	globalAPIConfig = apiConfig{listQuorum: "strict", rootAccess: true}
    
    	globalStorageClass storageclass.Config
    
    	globalAuthNPlugin *idplugin.AuthNPlugin
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  6. cmd/storage-rest-client.go

    }
    
    // DeleteFile - deletes a file.
    func (client *storageRESTClient) Delete(ctx context.Context, volume string, path string, deleteOpts DeleteOptions) error {
    	if !deleteOpts.Immediate {
    		// add deadlines for all non-immediate purges
    		var cancel context.CancelFunc
    		ctx, cancel = context.WithTimeout(ctx, globalDriveConfig.GetMaxTimeout())
    		defer cancel()
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:07:21 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  7. cmd/server-main.go

    	setGlobalInternodeInterface(ctxt.Interface)
    
    	globalTCPOptions = xhttp.TCPOptions{
    		UserTimeout: int(ctxt.UserTimeout.Milliseconds()),
    		// FIXME: Bring this back when we have valid way to handle deadlines
    		//		DriveOPTimeout: globalDriveConfig.GetOPTimeout,
    		Interface:   ctxt.Interface,
    		SendBufSize: ctxt.SendBufSize,
    		RecvBufSize: ctxt.RecvBufSize,
    	}
    
    	// allow transport to be HTTP/1.1 for proxying.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  8. cmd/xl-storage.go

    	return errs
    }
    
    func (s *xlStorage) cleanupTrashImmediateCallers(ctx context.Context) {
    	for {
    		select {
    		case <-ctx.Done():
    			return
    		case entry := <-s.immediatePurge:
    			// Add deadlines such that immediate purge is not
    			// perpetually hung here.
    			w := xioutil.NewDeadlineWorker(globalDriveConfig.GetMaxTimeout())
    			w.Run(func() error {
    				return removeAll(entry)
    			})
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  9. internal/grid/muxclient.go

    		Payload:    req,
    		DeadlineMS: uint32(m.deadline.Milliseconds()),
    	}
    	if m.subroute != nil {
    		msg.Flags |= FlagSubroute
    	}
    	ch := make(chan Response, 1)
    	m.respMu.Lock()
    	if m.closed {
    		m.respMu.Unlock()
    		return nil, ErrDisconnected
    	}
    	m.respWait = ch
    	m.respMu.Unlock()
    	ctx := m.ctx
    
    	// Add deadline if none.
    	if msg.DeadlineMS == 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  10. internal/grid/msg.go

    	var res []string
    	if m.MuxID != 0 {
    		res = append(res, fmt.Sprintf("MuxID: %v", m.MuxID))
    	}
    	if m.Seq != 0 {
    		res = append(res, fmt.Sprintf("Seq: %v", m.Seq))
    	}
    	if m.DeadlineMS != 0 {
    		res = append(res, fmt.Sprintf("Deadline: %vms", m.DeadlineMS))
    	}
    	if m.Handler != handlerInvalid {
    		res = append(res, fmt.Sprintf("Handler: %v", m.Handler))
    	}
    	if m.Op != 0 {
    		res = append(res, fmt.Sprintf("Op: %v", m.Op))
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:07:21 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top