Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for max_open_connections (0.21 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. docs/bucket/notifications/README.md

    queue_dir            (path)               staging dir for undelivered messages e.g. '/home/events'
    queue_limit          (number)             maximum limit for undelivered messages, defaults to '100000'
    max_open_connections (number)             maximum number of open connections to the database, defaults to '2'
    comment              (sentence)           optionally add a comment to this setting
    ```
    
    or environment variables
    
    ```
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 84K bytes
    - Viewed (0)
  4. cmd/testdata/undeleteable-object.tgz

    d6566afb36d109141150¬content-type°application/json¡v Ρì Þ ¤nullÅ ,rÙ.·x7 <'@ßr¦ÀV ñl∅ñµœ¼Kµ.i»?…alue":"namespace"},{"key":"connection_string","value":""},{"key":"table","value":""},{"key":"queue_dir","value":""},{"key":"queue_limit","value":"0"},{"key":"max_open_connections","value":"2"}]},"notify_redis":{"_":[{"key":"enable","value":"off"},{"key":"format","value":"namespace"},{"key":"address","value":""},{"key":"key","value":""},{"key":"password","value":""},{"key":"user","value":""},{"key":"queue_dir","valu...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 26 00:31:12 UTC 2024
    - 8.7M bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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