Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 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)
Back to top