Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 87 for quitting (0.12 sec)

  1. cmd/global-heal.go

    			bytes:   sz,
    			skipped: true,
    		}
    	}
    
    	// Collect updates to tracker from concurrent healEntry calls
    	results := make(chan healEntryResult, 1000)
    	quitting := make(chan struct{})
    	defer func() {
    		close(results)
    		<-quitting
    	}()
    
    	go func() {
    		for res := range results {
    			if res.entryDone {
    				tracker.setObject(res.name)
    				if time.Since(tracker.getLastUpdate()) > time.Minute {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  2. cmd/admin-heal-ops.go

    	h.mutex.Lock()
    	defer h.mutex.Unlock()
    
    	h.healedItemsMap[healType]++
    	h.lastHealActivity = UTCNow()
    }
    
    // isQuitting - determines if the heal sequence is quitting (due to an
    // external signal)
    func (h *healSequence) isQuitting() bool {
    	select {
    	case <-h.ctx.Done():
    		return true
    	default:
    		return false
    	}
    }
    
    // check if the heal sequence has ended
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  3. cmd/batch-expire.go

    		for !quit {
    			select {
    			case <-saveTicker.C:
    			case <-ctx.Done():
    				quit = true
    			case <-saverQuitCh:
    				quit = true
    			}
    
    			if quit {
    				// save immediately if we are quitting
    				after = 0
    			}
    
    			ctx, cancel := context.WithTimeout(GlobalContext, 30*time.Second) // independent context
    			batchLogIf(ctx, ri.updateAfter(ctx, api, after, job))
    			cancel()
    		}
    	}()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  4. configure.py

          one from the check_success function.
        resolve_symlinks: (Bool) Translate symbolic links into the real filepath.
        n_ask_attempts: (Integer) Number of times to query for valid input before
          raising an error and quitting.
    
      Returns:
        [String] The value of var_name after querying for input.
    
      Raises:
        UserInputError: if a query has been attempted n_ask_attempts times without
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 02 22:16:02 UTC 2024
    - 48.2K bytes
    - Viewed (0)
  5. architecture/standards/0004-use-a-platform-architecture.md

    This platform provides specific support for Swift, C++ and C.
    
    ### Cross-cutting architecture modules
    
    There are some additional cross-cutting architecture modules that aren't themselves platforms:
    
    #### Enterprise integration
    
    Provides cross-cutting integration with Gradle's commercial product.
    
    #### IDE integration
    
    Provides cross-cutting integration with IDEs and other tooling.
    
    #### Build infrastructure
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sun Feb 25 22:19:29 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  6. architecture/platforms.md

    This platform provides specific support for Swift, C++ and C.
    
    ## Cross-cutting architecture modules
    
    There are some additional cross-cutting architecture modules that aren't platforms:
    
    ### Enterprise integration
    
    Provides cross-cutting integration with Gradle's commercial product.
    
    ### IDE integration
    
    Provides cross-cutting integration with IDEs and other tooling.
    
    ### Build infrastructure
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu May 02 06:42:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. internal/bpool/bpool_test.go

    	}
    
    	// lets drain the buf channel first before we validate invalid buffers.
    	for i := uint64(0); i < size; i++ {
    		bp.Get() // discard
    	}
    
    	// Try putting some invalid buffers into pool
    	bp.Put(make([]byte, bp.w, bp.wcap-1)) // wrong capacity is rejected (less)
    	bp.Put(make([]byte, bp.w, bp.wcap+1)) // wrong capacity is rejected (more)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 29 01:40:52 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. cmd/dynamic-timeouts.go

    			failures++
    		} else if dur > max {
    			max = dur
    		}
    	}
    
    	failPct := float64(failures) / float64(len(entries))
    
    	if failPct > dynamicTimeoutIncreaseThresholdPct {
    		// We are hitting the timeout too often, so increase the timeout by 25%
    		timeout := atomic.LoadInt64(&dt.timeout) * 125 / 100
    
    		// Set upper cap.
    		if timeout > int64(maxDynamicTimeout) {
    			timeout = int64(maxDynamicTimeout)
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 19 23:21:05 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  9. docs/releasing.md

    ### Prerequisite: Sonatype (Maven Central) Account
    
    Create an account on the [Sonatype issues site][sonatype_issues]. Ask an existing publisher to open
    an issue requesting publishing permissions for `com.squareup` projects.
    
    
    Cutting a Release
    -----------------
    
    1. Update `CHANGELOG.md`.
    
    2. Set versions:
    
        ```
        export RELEASE_VERSION=X.Y.Z
        export NEXT_VERSION=X.Y.Z-SNAPSHOT
        ```
    
    3. Update versions:
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Dec 26 22:07:16 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  10. docs/en/docs/deployment/index.md

    Deploying a **FastAPI** application is relatively easy.
    
    ## What Does Deployment Mean
    
    To **deploy** an application means to perform the necessary steps to make it **available to the users**.
    
    For a **web API**, it normally involves putting it in a **remote machine**, with a **server program** that provides good performance, stability, etc, so that your **users** can **access** the application efficiently and without interruptions or problems.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Jan 11 16:31:18 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top