Skip to content

Release v0.13.0

Latest

Choose a tag to compare

@github-actions github-actions released this 08 May 08:22
· 7 commits to main since this release

What's Changed

New Contributors

Breaking & noteworthy config changes in 0.13.0

The new data_dir setting

TeamVault now requires a writeable data directory.
You can specify it via [teamvault] data_dir = /var/lib/teamvault in your teamvault.cfg. If no data_dir is specified, it defaults to /var/lib/teamvault.

New [gunicorn] section

You can now tune the bundled gunicorn server via the config file:

[gunicorn]
workers = 5  # default: (CPU cores * 2) + 1
timeout = 30
max_requests = 1000
max_requests_jitter = 200

The default worker count is now no longer 1, but scales with CPU count. In containers with restricted CPU quotas, set workers explicitly, since cpu_count() reflects host CPUs, not the cgroup limit.

New [database] connection-pooling options

[database]
conn_max_age = 60 # seconds; 0 = old behavior (open/close per request)
conn_health_checks = yes # validate connection before reuse

Connections are now persisted for 60 seconds across requests by default (previously opened and closed per request). Set conn_max_age = 0 to restore the old behavior.

Full Changelog: v0.12.0...v0.13.0