Sam
efa50a4da2
FEATURE: ThreadPool implementation ( #30364 )
...
This commit introduces a new ThreadPool class that provides efficient worker
thread management for background tasks. Key features include:
- Dynamic scaling from min to max threads based on workload
- Proper database connection management in multisite setup
- Graceful shutdown with task completion
- Robust error handling and logging
- FIFO task processing with a managed queue
- Configurable idle timeout for worker threads
The implementation is thoroughly tested, including stress tests, error
scenarios, and multisite compatibility.
2024-12-20 07:37:12 +11:00
..
2024-10-17 17:02:02 +02:00
2024-11-08 12:05:03 -05:00
2024-11-07 11:06:39 +10:00
2023-12-04 13:45:19 +01:00
2024-03-20 10:49:28 +01:00
2024-03-14 18:50:09 +00:00
2024-12-19 10:10:11 +08:00
2024-05-06 20:52:48 +02:00
2024-11-30 16:38:45 +01:00
2023-11-09 16:47:59 -06:00
2024-07-03 20:49:15 +08:00
2024-08-19 12:06:54 +02:00
2024-12-09 13:07:59 +03:00
2024-08-12 10:41:13 +02:00
2024-05-28 13:57:09 +10:00
2024-11-13 08:47:39 +08:00
2024-11-27 10:48:47 +01:00
2024-07-30 14:19:01 +08:00
2024-12-03 19:27:12 -05:00
2024-02-12 12:07:14 +02:00
2024-12-20 07:37:12 +11:00
2024-01-29 12:28:47 +00:00
2024-05-27 09:57:30 +02:00
2024-12-12 15:21:10 +01:00
2024-10-09 07:19:31 +08:00
2024-08-30 14:47:29 +10:00
2024-12-05 15:20:02 +08:00
2024-04-04 12:01:31 +08:00
2023-11-02 08:10:15 +03:00
2024-01-25 14:28:26 +08:00
2023-12-14 11:11:11 +08:00
2024-10-10 09:23:06 +08:00
2024-07-29 14:07:06 +08:00
2023-11-09 16:47:59 -06:00
2024-05-24 22:15:53 +08:00
2023-11-09 16:47:59 -06:00
2023-11-09 16:47:59 -06:00
2024-08-26 09:17:39 +10:00
2024-08-26 09:17:39 +10:00
2024-08-06 15:57:04 +02:00
2024-02-13 10:18:36 -05:00
2023-11-09 16:47:59 -06:00
2024-05-23 12:19:07 +10:00
2024-06-21 17:00:22 +08:00
2024-10-18 09:45:08 +04:00
2024-12-11 18:53:17 -05:00
2024-11-13 08:47:39 +08:00
2024-11-13 08:47:39 +08:00
2024-12-11 11:09:25 -03:00
2024-07-23 06:27:43 +08:00
2024-02-01 11:48:31 +00:00
2024-10-10 16:11:55 +02:00
2024-11-13 08:47:39 +08:00
2024-09-06 11:23:30 -03:00
2024-11-27 09:40:55 +10:00
2024-12-17 10:46:04 +08:00
2023-11-13 10:34:06 +00:00
2024-12-12 09:09:49 +01:00
2023-11-09 16:47:59 -06:00
2024-05-16 08:37:34 +08:00
2024-07-18 10:10:22 +10:00
2023-11-09 16:47:59 -06:00
2024-09-16 11:30:05 +08:00
2024-07-04 10:58:21 +02:00
2024-08-30 11:26:15 +02:00
2024-11-06 06:27:49 +08:00
2023-11-29 16:38:07 +11:00
2024-10-15 12:45:23 +02:00
2024-05-28 13:57:09 +10:00
2024-11-13 08:47:39 +08:00
2024-09-04 04:38:46 +03:00
2024-08-01 06:51:02 -06:00
2023-12-04 13:45:19 +01:00
2024-10-09 07:19:31 +08:00
2023-12-13 17:18:42 +08:00
2024-09-11 15:30:20 +10:00
2024-07-31 12:45:00 +10:00
2024-12-04 14:46:52 +11:00
2023-11-09 16:47:59 -06:00
2023-11-09 16:47:59 -06:00
2024-11-06 09:28:28 -03:00
2023-11-09 16:47:59 -06:00
2024-12-12 09:09:49 +01:00
2024-10-16 10:26:10 -05:00
2023-11-09 16:47:59 -06:00
2023-12-01 15:03:06 +08:00
2024-11-07 11:06:39 +10:00
2024-06-10 13:16:00 +08:00
2024-11-08 13:04:52 +08:00
2023-11-09 16:47:59 -06:00
2024-11-28 10:23:00 +08:00
2023-12-06 23:25:00 +01:00
2024-12-18 09:59:40 +01:00
2024-01-25 09:50:59 +10:00
2024-04-25 13:21:39 -05:00
2024-11-13 08:47:39 +08:00
2024-06-13 06:38:03 +08:00
2024-10-31 13:18:34 +10:00
2024-01-25 14:28:26 +08:00
2024-10-21 18:18:42 +02:00
2024-10-10 10:03:26 -05:00
2023-11-09 16:47:59 -06:00
2024-07-22 17:35:52 +02:00
2024-12-16 17:31:49 +00:00
2024-02-08 12:59:52 +08:00
2024-04-30 16:45:07 +08:00
2023-12-06 23:25:00 +01:00
2024-04-04 15:02:09 +02:00
2024-09-03 12:08:14 +02:00
2023-11-09 16:47:59 -06:00
2024-12-17 16:39:07 +11:00
2024-11-22 14:49:39 -06:00
2024-01-26 13:25:03 +08:00
2024-08-07 16:37:00 +08:00
2023-10-16 10:34:38 -04:00
2024-05-07 16:56:05 +02:00
2024-01-25 09:50:59 +10:00
2023-12-04 13:45:19 +01:00
2024-04-30 16:45:07 +08:00
2024-10-21 14:38:37 +08:00
2023-09-12 15:31:31 -03:00
2024-02-07 13:47:50 -06:00