Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for attempted (1.4 sec)

  1. bin/retry.sh

        fi
        if ! grep -Eq "${failureRegex}" "${tmpFile}"; then
          fail "Unexpected failure"
        fi
        if [[ $n -lt $max ]]; then
          ((n++))
          echo "Command failed. Attempt $n/$max:"
        else
          fail "The command has failed after $n attempts."
        fi
      done
    }
    
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jun 11 16:08:08 GMT 2021
    - 2K bytes
    - Viewed (0)
  2. .github/workflows/multipart/migrate.sh

    max_wait_attempts=30
    wait_interval=5
    
    attempt=1
    while true; do
    	diff <(./mc admin group info site1 site-replication-issue-group) <(./mc admin group info site2 site-replication-issue-group)
    
    	if [[ $? -eq 0 ]]; then
    		echo "Outputs are consistent."
    		break
    	fi
    
    	remaining_attempts=$((max_wait_attempts - attempt))
    	if ((attempt >= max_wait_attempts)); then
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 15:54:24 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  3. common/scripts/kind_provisioner.sh

    function retry() {
      local n=1
      local max=5
      local delay=5
      while true; do
        "$@" && break
        if [[ $n -lt $max ]]; then
          ((n++))
          log "Command failed. Attempt $n/$max:"
          sleep $delay;
        else
          log "The command has failed after $n attempts."  >&2
          return 2
        fi
      done
    }
    
    # load_cluster_topology function reads cluster configuration topology file and
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Apr 08 19:12:55 GMT 2024
    - 17.3K bytes
    - Viewed (1)
  4. gradlew

    #       within the Gradle project.
    #
    #       You can find Gradle at https://github.com/gradle/gradle/.
    #
    ##############################################################################
    
    # Attempt to set APP_HOME
    
    # Resolve links: $0 may be a link
    app_path=$0
    
    # Need this for daisy-chained symlinks.
    while
        APP_HOME=${app_path%"${app_path##*/}"}  # leaves a trailing /; empty if no leading path
    Shell Script
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 24 09:00:26 GMT 2023
    - 8.5K bytes
    - Viewed (0)
Back to top