Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for ping_interval (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. internal/event/target/nats.go

    	Secure            bool      `json:"secure"`
    	CertAuthority     string    `json:"certAuthority"`
    	ClientCert        string    `json:"clientCert"`
    	ClientKey         string    `json:"clientKey"`
    	PingInterval      int64     `json:"pingInterval"`
    	QueueDir          string    `json:"queueDir"`
    	QueueLimit        uint64    `json:"queueLimit"`
    	JetStream         struct {
    		Enable bool `json:"enable"`
    	} `json:"jetStream"`
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Apr 27 04:30:57 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

        closeWebSockets(webSocket, server)
      }
    
      @Test
      @Throws(Exception::class)
      fun clientPingsServerOnInterval() {
        client =
          client
            .newBuilder()
            .pingInterval(Duration.ofMillis(500))
            .build()
        webServer.enqueue(
          MockResponse
            .Builder()
            .webSocketUpgrade(serverListener)
            .build(),
        )
        val webSocket = newWebSocket()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt

        taskFaker.runTasks()
        client.webSocket!!.finishReader()
        client.listener.assertFailure(IOException::class.java, "source is closed")
        assertThat(client.closed).isTrue()
      }
    
      @Test
      fun pingOnInterval() {
        client.initWebSocket(random, pingIntervalMillis = 500)
        taskFaker.advanceUntil(ns(500L))
        server.processNextFrame() // Ping.
        client.processNextFrame() // Pong.
        taskFaker.advanceUntil(ns(1000L))
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 18.7K bytes
    - Click Count (0)
  4. internal/config/notify/legacy.go

    		},
    		config.KV{
    			Key:   target.NATSTLSHandshakeFirst,
    			Value: config.FormatBool(cfg.TLSHandshakeFirst),
    		},
    		config.KV{
    			Key:   target.NATSPingInterval,
    			Value: strconv.FormatInt(cfg.PingInterval, 10),
    		},
    		config.KV{
    			Key:   target.NATSQueueDir,
    			Value: cfg.QueueDir,
    		},
    		config.KV{
    			Key:   target.NATSQueueLimit,
    			Value: strconv.Itoa(int(cfg.QueueLimit)),
    		},
    		config.KV{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Apr 27 04:30:57 GMT 2025
    - 13.3K bytes
    - Click Count (0)
Back to Top