Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for quitting (0.06 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. internal/s3select/jstream/decoder.go

    	d.objectAsKVS = true
    	return d
    }
    
    // EmitKV enables emitting a jstream.KV struct when the items(s) parsed
    // at configured emit depth are within a JSON object. By default, only
    // the object values are emitted.
    func (d *Decoder) EmitKV() *Decoder {
    	d.emitKV = true
    	return d
    }
    
    // Recursive enables emitting all values at a depth higher than the
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/admissionregistration/v1beta1/generated.proto

      // The webhook cares about an operation if it matches _any_ Rule.
      // However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks
      // from putting the cluster in a state which cannot be recovered from without completely
      // disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  7. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

        }
    
        throw unknownHostException
      }
    
      private fun getCacheOnlyResponse(request: Request): Response? {
        if (client.cache != null) {
          try {
            // Use the cache without hitting the network first
            // 504 code indicates that the Cache is stale
            val onlyIfCached =
              CacheControl.Builder()
                .onlyIfCached()
                .build()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Oct 31 09:27:31 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/netbios/NameServicePacket.java

            end = srcIndex + this.rDataLength;
            /*
             * Apparently readRDataWireFormat can return 0 if resultCode != 0 in
             * which case this will look indefinitely. Putting this else clause around
             * the loop might fix that. But I would need to see a capture to confirm.
             * if (resultCode != 0) {
             * srcIndex += rDataLength;
             * } else {
             */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/NameServicePacket.java

            addrEntry = new NbtAddress[rDataLength / 6];
            end = srcIndex + rDataLength;
    /* Apparently readRDataWireFormat can return 0 if resultCode != 0 in
    which case this will look indefinitely. Putting this else clause around
    the loop might fix that. But I would need to see a capture to confirm.
    if (resultCode != 0) {
        srcIndex += rDataLength;
    } else {
    */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 12.4K bytes
    - Viewed (0)
  10. docs/en/docs/async.md

    While you are waiting, you go with your crush and pick a table, you sit and talk with your crush for a long time (as your burgers are very fancy and take some time to prepare).
    
    As you are sitting at the table with your crush, while you wait for the burgers, you can spend that time admiring how awesome, cute and smart your crush is ✨😍✨.
    
    <img src="/img/async/concurrent-burgers/concurrent-burgers-05.png" class="illustration">
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Aug 28 23:33:37 UTC 2024
    - 23.5K bytes
    - Viewed (0)
Back to top