Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 418 for Timeout (0.12 sec)

  1. internal/kms/kes.go

    		}
    	}
    
    	list := make([]madmin.KMSAPI, 0, len(APIs))
    	for _, api := range APIs {
    		list = append(list, madmin.KMSAPI{
    			Method:  api.Method,
    			Path:    api.Path,
    			MaxBody: api.MaxBody,
    			Timeout: int64(api.Timeout.Truncate(time.Second).Seconds()),
    		})
    	}
    	return list, nil
    }
    
    // Stat returns the current KES status containing a
    // list of KES endpoints and the default key ID.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. internal/lsync/lrwmutex_test.go

    	locked = lrwm.GetLock(ctx, "", "", duration)
    	if locked {
    		// fmt.Println("Write lock acquired, waiting...")
    		time.Sleep(1 * time.Second)
    
    		lrwm.Unlock()
    	} else {
    		t.Log("Write lock failed due to timeout")
    	}
    	return
    }
    
    func TestSimpleWriteLockAcquired(t *testing.T) {
    	locked := testSimpleWriteLock(t, 5*time.Second)
    
    	expected := true
    	if locked != expected {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 05 04:57:35 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  3. disabled-Jenkinsfile.its

     * under the License.
     */
    
    pipeline {
      agent { node { label 'ubuntu' } }
      options {
        durabilityHint('PERFORMANCE_OPTIMIZED')
        buildDiscarder(logRotator(numToKeepStr: '20', artifactNumToKeepStr: '5'))
        timeout(time: 180, unit: 'MINUTES')
      }
      parameters {
        string( defaultValue: 'master', description: 'Core Its branch (default master)',
                name: 'ITS_BRANCH' )
      }
      stages {
        stage("Build Maven Core") {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Sep 30 14:11:55 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. internal/ringbuffer/ring_buffer_test.go

    		t.Errorf("got: %q; want: %q", result, "hello")
    	}
    }
    
    func timeout(after time.Duration) (cancel func()) {
    	c := time.After(after)
    	cc := make(chan struct{})
    	go func() {
    		select {
    		case <-cc:
    			return
    		case <-c:
    			buf := make([]byte, 1<<20)
    			stacklen := runtime.Stack(buf, true)
    			fmt.Printf("=== Timeout, assuming deadlock ===\n*** goroutine dump...\n%s\n*** end\n", string(buf[:stacklen]))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractChainedListenableFutureTest.java

        resultFuture = buildChainingFuture(inputFuture);
        listener = new MockFutureListener(resultFuture);
      }
    
      public void testFutureGetBeforeCallback() throws Exception {
        // Verify that get throws a timeout exception before the callback is called.
        assertThrows(TimeoutException.class, () -> resultFuture.get(1L, MILLISECONDS));
      }
    
      public void testFutureGetThrowsWrappedException() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/TransCallNamedPipe.java

            name = pipeName;
            pipeData = data;
            pipeDataOff = off;
            pipeDataLen = len;
            command = SMB_COM_TRANSACTION;
            subCommand = TRANS_CALL_NAMED_PIPE;
            timeout = 0xFFFFFFFF;
            maxParameterCount = 0;
            maxDataCount = 0xFFFF;
            maxSetupCount = (byte)0x00;
            setupCount = 2;
        }
    
        int writeSetupWireFormat( byte[] dst, int dstIndex ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.6K bytes
    - Viewed (0)
  7. cmd/shared-lock.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"time"
    )
    
    var sharedLockTimeout = newDynamicTimeoutWithOpts(dynamicTimeoutOpts{
    	timeout:       30 * time.Second,
    	minimum:       10 * time.Second,
    	retryInterval: time.Minute,
    })
    
    type sharedLock struct {
    	lockContext chan LockContext
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 13 09:26:38 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/configurations/FlakyTestQuarantine.kt

        name = "Flaky Test Quarantine - ${os.asName()} ${arch.asName()}"
        description = "Run all flaky tests skipped multiple times"
    
        applyDefaultSettings(os = os, arch = arch, buildJvm = BuildToolBuildJvm, timeout = 180)
    
        val testsWithOs = model.stages.filter {
            it.stageName in listOf(
                StageName.QUICK_FEEDBACK_LINUX_ONLY,
                StageName.QUICK_FEEDBACK,
                StageName.PULL_REQUEST_FEEDBACK,
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 24 06:22:49 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTransportImpl.java

                            if ( !params.contains(RequestParam.NO_TIMEOUT) ) {
                                resp.wait(timeout);
                                timeout = resp.getExpiration() - System.currentTimeMillis();
                                if ( timeout <= 0 ) {
                                    throw new TransportException(this + " timedout waiting for response to " + req);
                                }
                            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  10. internal/deadlineconn/deadlineconn.go

    package deadlineconn
    
    import (
    	"net"
    	"time"
    )
    
    const updateInterval = 250 * time.Millisecond
    
    // DeadlineConn - is a generic stream-oriented network connection supporting buffered reader and read/write timeout.
    type DeadlineConn struct {
    	net.Conn
    	readDeadline  time.Duration // sets the read deadline on a connection.
    	readSetAt     time.Time
    	writeDeadline time.Duration // sets the write deadline on a connection.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 26 17:40:11 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top