Chris Lu
a17dca7009
fix(filer): don't disable the SQL idle connection pool when unconfigured ( #9591 )
...
* fix(filer): don't disable the SQL idle connection pool when unconfigured
The mysql/mysql2/postgres stores called SetMaxIdleConns(maxIdle)
unconditionally, so an unset connection_max_idle (0) actively kept zero
idle connections - every query opened and closed a fresh connection
instead of reusing the pool.
Only apply the value when it's set; otherwise leave database/sql's
default idle pool of 2 in place.
* comments: shorten idle-pool note
* fix(filer): default the SQL idle pool via config, keep explicit 0 honored
Apply the idle-pool default at the config layer with SetDefault instead of
guarding the SetMaxIdleConns call. An absent connection_max_idle now reads
back as 2 (pool stays on), while an explicit 0 flows through to
SetMaxIdleConns(0) so operators can still disable idle pooling on purpose.
2026-05-20 14:04:23 -07:00
..
2026-01-09 18:02:59 -08:00
2026-01-07 13:06:08 -08:00
2026-01-14 17:59:59 -08:00
2026-01-14 17:59:59 -08:00
2026-02-20 18:42:00 -08:00
2026-04-10 17:31:14 -07:00
2026-01-07 13:06:08 -08:00
2026-02-20 18:42:00 -08:00
2026-01-07 13:06:08 -08:00
2026-01-07 13:06:08 -08:00
2026-01-07 13:06:08 -08:00
2026-01-07 13:06:08 -08:00
2025-12-23 14:48:50 -08:00
2026-05-20 14:04:23 -07:00
2026-05-20 14:04:23 -07:00
2026-05-20 14:04:23 -07:00
2026-05-20 14:04:23 -07:00
2026-04-02 15:39:04 -07:00
2026-04-07 14:59:01 -07:00
2026-04-22 15:34:05 -07:00
2025-11-25 19:35:19 -08:00
2026-02-20 18:42:00 -08:00
2026-03-26 12:07:48 -07:00
2026-02-20 18:42:00 -08:00
2026-02-20 18:42:00 -08:00
2026-02-20 18:42:00 -08:00
2026-01-07 13:06:08 -08:00
2026-03-23 18:35:15 -07:00
2026-05-19 10:22:17 -07:00
2026-05-19 10:22:17 -07:00
2026-05-19 10:22:17 -07:00
2025-08-06 10:09:26 -07:00
2025-11-29 10:06:11 -08:00
2026-04-16 15:51:13 -07:00
2026-04-16 15:51:13 -07:00
2026-01-07 13:06:08 -08:00
2025-11-29 10:06:11 -08:00
2026-01-07 13:06:08 -08:00
2026-01-07 13:06:08 -08:00
2026-01-07 13:06:08 -08:00
2025-08-30 11:15:48 -07:00
2026-02-06 21:54:43 -08:00
2026-01-16 19:48:09 -08:00
2025-12-12 12:51:48 -08:00
2026-03-06 12:35:08 -08:00
2026-03-12 13:16:28 -07:00
2025-10-29 18:31:23 -07:00
2025-10-29 18:31:23 -07:00
2026-04-14 20:48:24 -07:00
2026-04-14 20:48:24 -07:00
2026-04-14 20:48:24 -07:00
2026-04-14 20:48:24 -07:00
2026-03-13 09:36:54 -07:00
2026-04-14 20:48:24 -07:00
2026-03-12 13:16:28 -07:00
2026-04-16 15:51:13 -07:00
2026-04-03 16:04:27 -07:00
2026-04-11 23:12:54 -07:00
2026-03-30 18:25:11 -07:00
2026-03-30 18:25:11 -07:00
2026-01-16 19:48:09 -08:00
2025-12-03 21:12:19 -08:00
2026-05-19 10:22:17 -07:00
2026-04-10 11:23:52 -07:00
2025-11-25 19:35:19 -08:00
2026-04-03 17:55:27 -07:00
2026-04-14 20:48:24 -07:00
2025-11-25 19:35:19 -08:00
2026-04-14 20:48:24 -07:00
2026-01-07 13:06:08 -08:00
2023-04-13 22:32:45 -07:00
2026-05-12 13:00:52 -07:00
2026-04-03 16:04:27 -07:00
2026-03-30 18:25:11 -07:00
2026-03-07 09:19:40 -08:00
2026-03-07 09:19:40 -08:00
2026-04-18 20:03:23 -07:00
2026-04-18 20:03:23 -07:00
2026-03-17 16:49:56 -07:00
2026-05-07 17:45:04 -07:00
2025-08-06 10:09:26 -07:00
2025-12-04 23:40:56 -08:00
2026-04-16 10:18:05 -07:00
2026-04-16 10:18:05 -07:00
2026-05-07 17:45:04 -07:00
2026-03-15 11:27:42 -07:00
2026-03-06 12:35:08 -08:00
2025-07-16 23:39:27 -07:00
2026-04-10 17:31:14 -07:00
2026-04-03 19:57:30 -07:00
2026-04-03 19:57:30 -07:00
2026-04-14 20:48:24 -07:00
2024-11-04 12:08:25 -08:00