Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions docs/en-US/welcome/getting-started/env.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,30 @@ Database log switch, default is `off`, options include
DB_LOGGING=on
```

### DB_POOL_MAX

Maximum number of connection in pool. Default is `5`.

### DB_POOL_MIN

Minimum number of connection in pool. Default is `0`.

### DB_POOL_IDLE

The maximum time, in milliseconds, that a connection can be idle before being released. Default is `10000` (10 seconds).

### DB_POOL_ACQUIRE

The maximum time, in milliseconds, that pool will try to get connection before throwing error. Default is `60000` (60 seconds).

### DB_POOL_EVICT

The time interval, in milliseconds, after which sequelize-pool will remove idle connections. Default is `1000` (1 second).

### DB_POOL_MAX_USES

The number of times a connection can be used before discarding it for a replacement. Default is `0` (unlimited).

### LOGGER_TRANSPORT

Log output method,separated by `,` 。Default is `console` in development, `console,dailyRotateFile` in production.
Expand Down
24 changes: 24 additions & 0 deletions docs/fr-FR/welcome/getting-started/env.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,30 @@ Commutateur de journal de base de données, la valeur par défaut est `off`, les
DB_LOGGING=on
```

### DB_POOL_MAX

Maximum number of connection in pool. Default is `5`.

### DB_POOL_MIN

Minimum number of connection in pool. Default is `0`.

### DB_POOL_IDLE

The maximum time, in milliseconds, that a connection can be idle before being released. Default is `10000` (10 seconds).

### DB_POOL_ACQUIRE

The maximum time, in milliseconds, that pool will try to get connection before throwing error. Default is `60000` (60 seconds).

### DB_POOL_EVICT

The time interval, in milliseconds, after which sequelize-pool will remove idle connections. Default is `1000` (1 second).

### DB_POOL_MAX_USES

The number of times a connection can be used before discarding it for a replacement. Default is `0` (unlimited).

### LOGGER_TRANSPORT

Mode de sortie du journal, séparez plusieurs entrées par `,`. La valeur par défaut pour l'environnement de développement est `console` et la valeur par défaut pour l'environnement de production est `console,dailyRotateFile`.
Expand Down
24 changes: 24 additions & 0 deletions docs/ja-JP/welcome/getting-started/env.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,30 @@ DB_TABLE_PREFIX=nocobase_
DB_LOGGING=on
```

### DB_POOL_MAX

Maximum number of connection in pool. Default is `5`.

### DB_POOL_MIN

Minimum number of connection in pool. Default is `0`.

### DB_POOL_IDLE

The maximum time, in milliseconds, that a connection can be idle before being released. Default is `10000` (10 seconds).

### DB_POOL_ACQUIRE

The maximum time, in milliseconds, that pool will try to get connection before throwing error. Default is `60000` (60 seconds).

### DB_POOL_EVICT

The time interval, in milliseconds, after which sequelize-pool will remove idle connections. Default is `1000` (1 second).

### DB_POOL_MAX_USES

The number of times a connection can be used before discarding it for a replacement. Default is `0` (unlimited).

### LOGGER_TRANSPORT

ログ出力方法。複数の場合は `,` で区切ります。開発環境のデフォルト値は `console`、本番環境のデフォルト値は `console,dailyRotateFile` です。選択肢:
Expand Down
23 changes: 23 additions & 0 deletions docs/ru-RU/welcome/getting-started/env.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,29 @@ Database log switch, default is `off`, options include
DB_LOGGING=on
```

### DB_POOL_MAX

Maximum number of connection in pool. Default is `5`.

### DB_POOL_MIN

Minimum number of connection in pool. Default is `0`.

### DB_POOL_IDLE

The maximum time, in milliseconds, that a connection can be idle before being released. Default is `10000` (10 seconds).

### DB_POOL_ACQUIRE

The maximum time, in milliseconds, that pool will try to get connection before throwing error. Default is `60000` (60 seconds).

### DB_POOL_EVICT

The time interval, in milliseconds, after which sequelize-pool will remove idle connections. Default is `1000` (1 second).

### DB_POOL_MAX_USES

The number of times a connection can be used before discarding it for a replacement. Default is `0` (unlimited).

### LOGGER_TRANSPORT

Expand Down
24 changes: 24 additions & 0 deletions docs/zh-CN/welcome/getting-started/env.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,30 @@ DB_TABLE_PREFIX=nocobase_
DB_LOGGING=on
```

### DB_POOL_MAX

数据库连接池最大连接数,默认值 `5`。

### DB_POOL_MIN

数据库连接池最小连接数,默认值 `0`。

### DB_POOL_IDLE

数据库连接池空闲时间,默认值 `10000`(10 秒)。

### DB_POOL_ACQUIRE

数据库连接池获取连接最大等待时间,默认值 `60000`(60 秒)。

### DB_POOL_EVICT

数据库连接池连接最大存活时间,默认值 `1000`(1 秒)。

### DB_POOL_MAX_USES

连接在被丢弃并替换之前可被使用的次数,默认值 `0`(不限制)。

### LOGGER_TRANSPORT

日志输出方式,多个用 `,` 分隔。开发环境默认值 `console`, 生产环境默认值 `console,dailyRotateFile`.
Expand Down
Loading