Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for 5secs (0.01 sec)

  1. buildscripts/minio-upgrade.sh

    }
    
    add_alias() {
    	for i in $(seq 1 4); do
    		echo "... attempting to add alias $i"
    		until (mc alias set minio http://127.0.0.1:9000 minioadmin minioadmin); do
    			echo "...waiting... for 5secs" && sleep 5
    		done
    	done
    
    	echo "Sleeping for nginx"
    	sleep 20
    }
    
    __init__() {
    	sudo apt install curl -y
    	export GOPATH=/tmp/gopath
    	export PATH=${PATH}:${GOPATH}/bin
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Apr 21 16:24:31 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/msrpc/srvsvc.idl

    	int ServerGetInfo([in,string,unique] wchar_t *servername,
    			[in] int level,
    			[out,switch_is(level)] ServerInfo *info);
    
    	typedef struct {
    		uint32_t elapsedt;  
    		uint32_t msecs;  
    		uint32_t hours;  
    		uint32_t mins;  
    		uint32_t secs;  
    		uint32_t hunds;
    		uint32_t timezone;  
    		uint32_t tinterval;  
    		uint32_t day;  
    		uint32_t month;  
    		uint32_t year;  
    		uint32_t weekday;
    	} TimeOfDayInfo;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.idl

    	int ServerGetInfo([in,string,unique] wchar_t *servername,
    			[in] int level,
    			[out,switch_is(level)] ServerInfo *info);
    
    	typedef struct {
    		uint32_t elapsedt;  
    		uint32_t msecs;  
    		uint32_t hours;  
    		uint32_t mins;  
    		uint32_t secs;  
    		uint32_t hunds;
    		uint32_t timezone;  
    		uint32_t tinterval;  
    		uint32_t day;  
    		uint32_t month;  
    		uint32_t year;  
    		uint32_t weekday;
    	} TimeOfDayInfo;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  4. internal/config/identity/tls/config.go

    	maxExpiry     time.Duration = 365 * 24 * time.Hour
    )
    
    // GetExpiryDuration - return parsed expiry duration.
    func (l Config) GetExpiryDuration(dsecs string) (time.Duration, error) {
    	if dsecs == "" {
    		return defaultExpiry, nil
    	}
    
    	d, err := strconv.Atoi(dsecs)
    	if err != nil {
    		return 0, auth.ErrInvalidDuration
    	}
    
    	dur := time.Duration(d) * time.Second
    
    	if dur < minExpiry || dur > maxExpiry {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. internal/config/identity/openid/jwt.go

    var (
    	ErrTokenExpired = errors.New("token expired")
    )
    
    func updateClaimsExpiry(dsecs string, claims map[string]any) error {
    	expStr := claims["exp"]
    	if expStr == "" {
    		return ErrTokenExpired
    	}
    
    	// No custom duration requested, the claims can be used as is.
    	if dsecs == "" {
    		return nil
    	}
    
    	if _, err := auth.ExpToInt64(expStr); err != nil {
    		return err
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  6. internal/http/dial_linux.go

    				_ = syscall.SetsockoptInt(fd, syscall.IPPROTO_TCP, syscall.TCP_KEEPCNT, 5)
    
    				// Wait time after successful probe in seconds.
    				// ~ cat /proc/sys/net/ipv4/tcp_keepalive_intvl (defaults to 75 secs, we reduce it to 15 secs)
    				_ = syscall.SetsockoptInt(fd, syscall.IPPROTO_TCP, syscall.TCP_KEEPINTVL, 15)
    			}
    
    			// Set tcp user timeout in addition to the keep-alive - tcp-keepalive is not enough to close a socket
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Jul 23 10:53:03 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. internal/config/identity/openid/jwt_test.go

    	jwtm "github.com/minio/minio/internal/jwt"
    	xnet "github.com/minio/pkg/v3/net"
    )
    
    func TestUpdateClaimsExpiry(t *testing.T) {
    	testCases := []struct {
    		exp             any
    		dsecs           string
    		expectedFailure bool
    	}{
    		{"", "", true},
    		{"-1", "0", true},
    		{"-1", "900", true},
    		{"1574812326", "900", false},
    		{1574812326, "900", false},
    		{int64(1574812326), "900", false},
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  8. internal/store/store.go

    				break
    			}
    
    			logger(
    				context.Background(),
    				fmt.Errorf("unable to send log entry to '%s' err '%w'", target.Name(), err),
    				target.Name(),
    			)
    
    			select {
    			// Retrying after 3secs back-off
    			case <-retryTicker.C:
    			case <-doneCh:
    				return false
    			}
    		}
    		return true
    	}
    
    	for {
    		select {
    		case key, ok := <-keyCh:
    			if !ok {
    				return
    			}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 4.2K bytes
    - Viewed (0)
Back to top