Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 81 for minutes (0.17 sec)

  1. cmd/update-notifier_test.go

    		{60 * time.Second, "my_download_url", "1 minute before the latest release"},
    		{61 * time.Second, "my_download_url", "1 minute before the latest release"},
    
    		// Testcase index 10
    		{37 * time.Minute, "my_download_url", "37 minutes before the latest release"},
    		{1 * time.Hour, "my_download_url", "1 hour before the latest release"},
    		{61 * time.Minute, "my_download_url", "1 hour before the latest release"},
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Jul 31 15:36:19 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  2. internal/http/transports.go

    	// 		// ReadIdleTimeout is the timeout after which a health check using ping
    	// 		// frame will be carried out if no frame is received on the
    	// 		// connection. 5 minutes is sufficient time for any idle connection.
    	// 		trhttp2.ReadIdleTimeout = 5 * time.Minute
    	// 		// PingTimeout is the timeout after which the connection will be closed
    	// 		// if a response to Ping is not received.
    	// 		trhttp2.PingTimeout = dialTimeout
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jan 30 00:50:37 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  3. internal/s3select/sql/timestampfuncs.go

    		return FromInt(int64(duration / (24 * time.Hour))), nil
    	case timePartHour:
    		hours := duration / time.Hour
    		return FromInt(int64(hours)), nil
    	case timePartMinute:
    		minutes := duration / time.Minute
    		return FromInt(int64(minutes)), nil
    	case timePartSecond:
    		seconds := duration / time.Second
    		return FromInt(int64(seconds)), nil
    	default:
    
    	}
    	return nil, errNotImplemented
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 4.8K bytes
    - Viewed (0)
  4. cmd/metacache.go

    		// Keep for 15 minutes after we last saw the client.
    		// Since the cache is finished keeping it a bit longer doesn't hurt us.
    		return false
    	case cache.status == scanStateError || cache.status == scanStateNone:
    		// Remove failed listings after 5 minutes.
    		return time.Since(cache.lastUpdate) > 5*time.Minute
    	}
    	return true
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5K bytes
    - Viewed (0)
  5. cmd/post-policy_test.go

    	return signature
    }
    
    func newPostRequestV2(endPoint, bucketName, objectName string, accessKey, secretKey string) (*http.Request, error) {
    	// Expire the request five minutes from now.
    	expirationTime := UTCNow().Add(time.Minute * 5)
    	// Create a new post policy.
    	policy := newPostPolicyBytesV2(bucketName, objectName, expirationTime)
    	// Only need the encoding.
    	encodedPolicy := base64.StdEncoding.EncodeToString(policy)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  6. internal/config/drive/help.go

    	// HelpDrive is help for drive
    	HelpDrive = config.HelpKVS{
    		config.HelpKV{
    			Key:         MaxTimeout,
    			Type:        "string",
    			Description: "set per call max_timeout for the drive, defaults to 2 minutes",
    			Optional:    true,
    		},
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Nov 27 17:15:06 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  7. docs/debugging/pprofgoparser/main.go

    `
    
    func main() {
    	flag.Parse()
    
    	if len(flag.Args()) == 0 {
    		log.Fatal(helpUsage)
    	}
    
    	var err error
    
    	goroutinesRE = regexp.MustCompile(`^goroutine [0-9]+ \[[^,]+(, ([0-9]+) minutes)?\]:$`)
    
    	if searchText != "" {
    		searchRE, err = regexp.Compile(searchText)
    		if err != nil {
    			log.Fatal(err)
    		}
    	}
    
    	for _, arg := range flag.Args() {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Mar 06 11:43:16 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  8. cmd/storage-rest-server.go

    		w.WriteHeader(499)
    	default:
    		w.WriteHeader(http.StatusForbidden)
    	}
    	w.Write([]byte(err.Error()))
    }
    
    // DefaultSkewTime - skew time is 15 minutes between minio peers.
    const DefaultSkewTime = 15 * time.Minute
    
    // Authenticates storage client's requests and validates for skewed time.
    func storageServerRequestValidate(r *http.Request) error {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 44.3K bytes
    - Viewed (0)
  9. cmd/sftp-server.go

    		defer server.Close()
    		server.Serve()
    	}
    
    	sftpServer, err := xsftp.NewServer(&xsftp.Options{
    		PublicIP: publicIP,
    		Port:     port,
    		// OpensSSH default handshake timeout is 2 minutes.
    		SSHHandshakeDeadline: 2 * time.Minute,
    		Logger:               new(sftpLogger),
    		SSHConfig:            sshConfig,
    		HandleSFTPSession:    handleSFTPSession,
    	})
    	if err != nil {
    		logger.Fatal(err, "Unable to start SFTP Server")
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  10. cmd/lock-rest-server.go

    	lockMaintenanceInterval = 1 * time.Minute
    
    	// Lock validity duration
    	lockValidityDuration = 1 * time.Minute
    )
    
    // lockMaintenance loops over all locks and discards locks
    // that have not been refreshed for some time.
    func lockMaintenance(ctx context.Context) {
    	if !globalIsDistErasure {
    		return
    	}
    
    	// Initialize a new ticker with 1 minute between each ticks.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 5.9K bytes
    - Viewed (0)
Back to top