dbconns

package
v0.20.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package dbconns reads the connection cap of the site's database handle, the same setting on either engine.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MaxConnsFrom

func MaxConnsFrom(env gonsole.Env) (int, error)

MaxConnsFrom reads DATABASE_MAX_CONNS, the site's connection cap on either engine, from 2 to 2147483647.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL