Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 22 of 22 for IdleTimeout (0.36 sec)

  1. internal/event/target/redis.go

    		if err := queueStore.Open(); err != nil {
    			return nil, fmt.Errorf("unable to initialize the queue store of Redis `%s`: %w", id, err)
    		}
    	}
    
    	pool := &redis.Pool{
    		MaxIdle:     3,
    		IdleTimeout: 2 * 60 * time.Second,
    		Dial: func() (redis.Conn, error) {
    			conn, err := redis.Dial("tcp", args.Addr.String())
    			if err != nil {
    				return nil, err
    			}
    
    			if args.Password != "" {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. pkg/test/echo/server/endpoint/grpc.go

    		return err
    	}
    	// Store the actual listening port back to the argument.
    	s.Port.Port = p
    
    	opts := []grpc.ServerOption{
    		grpc.KeepaliveParams(keepalive.ServerParameters{
    			MaxConnectionIdle: idleTimeout,
    		}),
    	}
    	if s.Port.TLS {
    		epLog.Infof("Listening GRPC (over TLS) on %v", p)
    		// Create the TLS credentials
    		creds, errCreds := credentials.NewServerTLSFromFile(s.TLSCert, s.TLSKey)
    		if errCreds != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Sep 25 17:30:37 UTC 2023
    - 8.7K bytes
    - Viewed (0)
Back to top