Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for MaxOpenConnections (0.14 sec)

  1. internal/event/target/postgresql.go

    	Database           string    `json:"database"` // default: same as user
    	QueueDir           string    `json:"queueDir"`
    	QueueLimit         uint64    `json:"queueLimit"`
    	MaxOpenConnections int       `json:"maxOpenConnections"`
    }
    
    // Validate PostgreSQLArgs fields
    func (p PostgreSQLArgs) Validate() error {
    	if !p.Enable {
    		return nil
    	}
    	if p.Table == "" {
    		return fmt.Errorf("empty table name")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. internal/event/target/mysql.go

    	Password           string   `json:"password"`
    	Database           string   `json:"database"`
    	QueueDir           string   `json:"queueDir"`
    	QueueLimit         uint64   `json:"queueLimit"`
    	MaxOpenConnections int      `json:"maxOpenConnections"`
    }
    
    // Validate MySQLArgs fields
    func (m MySQLArgs) Validate() error {
    	if !m.Enable {
    		return nil
    	}
    
    	if m.Format != "" {
    		f := strings.ToLower(m.Format)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  3. internal/config/notify/parse.go

    			Table:              env.Get(tableEnv, kv.Get(target.MySQLTable)),
    			QueueDir:           env.Get(queueDirEnv, kv.Get(target.MySQLQueueDir)),
    			QueueLimit:         queueLimit,
    			MaxOpenConnections: maxOpenConnections,
    		}
    		if err = mysqlArgs.Validate(); err != nil {
    			return nil, err
    		}
    		mysqlTargets[k] = mysqlArgs
    	}
    	return mysqlTargets, nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 47K bytes
    - Viewed (0)
  4. internal/config/notify/legacy.go

    		},
    		config.KV{
    			Key:   target.PostgresQueueLimit,
    			Value: strconv.Itoa(int(cfg.QueueLimit)),
    		},
    		config.KV{
    			Key:   target.PostgresMaxOpenConnections,
    			Value: strconv.Itoa(cfg.MaxOpenConnections),
    		},
    	}
    
    	return nil
    }
    
    // SetNotifyNSQ - helper for config migration from older config.
    func SetNotifyNSQ(s config.Config, nsqName string, cfg target.NSQArgs) error {
    	if !cfg.Enable {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 19 04:37:54 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  5. api/go1.11.txt

    pkg database/sql, type DBStats struct, InUse int
    pkg database/sql, type DBStats struct, MaxIdleClosed int64
    pkg database/sql, type DBStats struct, MaxLifetimeClosed int64
    pkg database/sql, type DBStats struct, MaxOpenConnections int
    pkg database/sql, type DBStats struct, WaitCount int64
    pkg database/sql, type DBStats struct, WaitDuration time.Duration
    pkg debug/elf, const ELFOSABI_AROS = 15
    pkg debug/elf, const ELFOSABI_AROS OSABI
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 22 03:48:56 UTC 2018
    - 25K bytes
    - Viewed (0)
Back to top