Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for writeTimeout (0.18 sec)

  1. internal/http/listener.go

    	// When the net.Conn is idle for more than ReadTimeout duration, we close the connection on the client proactively.
    	ClientReadTimeout time.Duration
    	// When the net.Conn is idle for more than WriteTimeout duration, we close the connection on the client proactively.
    	ClientWriteTimeout time.Duration
    
    	SendBufSize int              // SO_SNDBUF size for the socket connection, NOTE: this sets server and client connection
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  2. internal/logger/target/kafka/kafka.go

    	sconfig.Producer.RequiredAcks = 1
    	sconfig.Producer.Timeout = (10 * time.Second)
    	sconfig.Net.ReadTimeout = (10 * time.Second)
    	sconfig.Net.DialTimeout = (10 * time.Second)
    	sconfig.Net.WriteTimeout = (10 * time.Second)
    	sconfig.Metadata.Retry.Max = 1
    	sconfig.Metadata.Retry.Backoff = (10 * time.Second)
    	sconfig.Metadata.RefreshFrequency = (15 * time.Minute)
    
    	h.config = sconfig
    
    	var brokers []string
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 10.1K bytes
    - Viewed (1)
  3. internal/event/target/kafka.go

    		config.Producer.Compression = cc
    		config.Producer.CompressionLevel = args.Producer.CompressionLevel
    	}
    
    	config.Net.ReadTimeout = (5 * time.Second)
    	config.Net.DialTimeout = (5 * time.Second)
    	config.Net.WriteTimeout = (5 * time.Second)
    	config.Metadata.Retry.Max = 1
    	config.Metadata.Retry.Backoff = (1 * time.Second)
    	config.Metadata.RefreshFrequency = (15 * time.Minute)
    
    	target.config = config
    
    	brokers := []string{}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 20 08:16:35 GMT 2024
    - 13K bytes
    - Viewed (0)
  4. internal/http/listener_test.go

    	return nonLoopBackIP
    }
    
    func TestNewHTTPListener(t *testing.T) {
    	testCases := []struct {
    		serverAddrs         []string
    		tcpKeepAliveTimeout time.Duration
    		readTimeout         time.Duration
    		writeTimeout        time.Duration
    		expectedListenErrs  []bool
    	}{
    		{[]string{"93.184.216.34:65432"}, time.Duration(0), time.Duration(0), time.Duration(0), []bool{true}},                           // 1
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jun 12 16:09:28 GMT 2023
    - 11.8K bytes
    - Viewed (0)
Back to top