Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 550 for nwait (0.03 sec)

  1. cmd/erasure-metadata.go

    			fi.Erasure.Index = index + 1
    			if fi.IsValid() {
    				return disks[index].WriteMetadata(ctx, origbucket, bucket, prefix, fi)
    			}
    			return errFileCorrupt
    		}, index)
    	}
    
    	// Wait for all the routines.
    	mErrs := g.Wait()
    
    	err := reduceWriteQuorumErrs(ctx, mErrs, objectOpIgnoredErrs, quorum)
    	if err != nil && revert {
    		ng := errgroup.WithNErrs(len(disks))
    		for index := range disks {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  2. cmd/erasure-healing.go

    				mu.Lock()
    				if _, ok := healBuckets[volInfo.Name]; !ok {
    					healBuckets[volInfo.Name] = volInfo
    				}
    				mu.Unlock()
    			}
    			return nil
    		}, index)
    	}
    	return reduceReadQuorumErrs(ctx, g.Wait(), bucketMetadataOpIgnoredErrs, readQuorum)
    }
    
    var errLegacyXLMeta = errors.New("legacy XL meta")
    
    var errOutdatedXLMeta = errors.New("outdated XL meta")
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 02 17:50:41 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  3. internal/store/batch_test.go

    		wg.Add(1)
    		go func(key int) {
    			defer wg.Done()
    			if err := batch.Add(testItem); err != nil {
    				t.Errorf("failed to add item %v; %v", key, err)
    				return
    			}
    		}(i)
    	}
    	wg.Wait()
    
    	batchLen := batch.Len()
    	if batchLen != int(limit) {
    		t.Fatalf("Expected batch.Len() %v; but got %v", limit, batchLen)
    	}
    
    	keys := store.List()
    	if len(keys) > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/exec/SuggestCreator.java

                    logger.error("Failed to update suggest index.", t);
                    exitCode.set(1);
                    latch.countDown();
                });
    
                try {
                    latch.await();
                } catch (final InterruptedException ignore) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Interrupted.", ignore);
                    }
                    exitCode.set(1);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 10K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/background-tasks.md

    Nesse caso, a função de tarefa gravará em um arquivo (simulando o envio de um e-mail).
    
    E como a operação de gravação não usa `async` e `await`, definimos a função com `def` normal:
    
    ```Python hl_lines="6-9"
    {!../../docs_src/background_tasks/tutorial001.py!}
    ```
    
    ## Adicionar a tarefa em segundo plano
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/background-tasks.md

    In this case, the task function will write to a file (simulating sending an email).
    
    And as the write operation doesn't use `async` and `await`, we define the function with normal `def`:
    
    {* ../../docs_src/background_tasks/tutorial001.py hl[6:9] *}
    
    ## Add the background task
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:22:48 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. cmd/dynamic-timeouts_test.go

    					timeout.LogSuccess(time.Duration(float64(time.Second) * rng.Float64()))
    				}
    				to := timeout.Timeout()
    				if to < time.Millisecond || to > time.Second {
    					panic(to)
    				}
    			}
    		}()
    	}
    	wg.Wait()
    }
    
    func TestDynamicTimeoutHitMinimum(t *testing.T) {
    	const minimum = 30 * time.Second
    	timeout := newDynamicTimeout(time.Minute, minimum)
    
    	initial := timeout.Timeout()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 14 10:08:40 UTC 2022
    - 5.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbTree.java

            while (connectionState != 0) {
                if (connectionState == 2 || connectionState == 3) // connected or disconnecting
                    return;
                try {
                    session.transport.wait();
                } catch (InterruptedException ie) {
                    throw new SmbException(ie.getMessage(), ie);
                }
            }
            connectionState = 1; // trying ...
    
            try {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 8K bytes
    - Viewed (0)
  9. docs/config/README.md

    KEY:
    scanner  manage namespace scanning for usage calculation, lifecycle, healing and more
    
    ARGS:
    delay     (float)     scanner delay multiplier, defaults to '10.0'
    max_wait  (duration)  maximum wait time between operations, defaults to '15s'
    cycle     (duration)  time duration between scanner cycles
    ```
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 16 08:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  10. cmd/endpoint.go

    					endpoints[i].IsLocal = isLocal
    					epsResolved++
    					if !foundLocal {
    						foundLocal = isLocal
    					}
    				}
    			}
    
    			// Wait for the tick, if the there exist a local endpoint in discovery.
    			// Non docker/kubernetes environment we do not need to wait.
    			if !foundLocal && orchestrated {
    				<-keepAliveTicker.C
    			}
    		}
    	}
    
    	// On Kubernetes/Docker setups DNS resolves inappropriately sometimes
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 34.2K bytes
    - Viewed (0)
Back to top