Files
TaskPool/internal/utils
little-sparkleeesss ae273d5b92 feat(database): support configurable SSL mode for PostgreSQL and MySQL
Add ssl_mode configuration option to allow users to customize SSL/TLS
policy for database connections instead of hardcoding sslmode=disable
for PostgreSQL and having no TLS support for MySQL.

Changes:
- database.Config, DatabaseConfig: add SSLMode field
- PostgreSQL DSN: replace hardcoded sslmode=disable with configurable
value
- MySQL DSN: append &tls=<SSLMode> parameter when SSLMode is set
- Full config pipeline: INI/env -> DatabaseConfig -> Config -> DSN ->
subprocess
- New env var BH_DB_SSL_MODE and ini key [database] ssl_mode
- Updated config example and documentation
2026-06-13 23:19:03 +08:00
..
2026-04-28 17:15:01 +08:00
2026-02-07 21:44:09 +08:00
2026-04-29 21:06:10 +08:00
2026-02-07 21:44:09 +08:00
2026-02-07 21:44:09 +08:00
2026-04-16 21:40:05 +08:00
2026-03-09 21:46:11 +08:00
2026-03-11 14:14:20 +08:00
2026-03-12 09:57:34 +08:00