Files
new-api/common
CaIon 13ada6484a feat(task): introduce task timeout configuration and cleanup unfinished tasks
- Added TaskTimeoutMinutes constant to configure the timeout duration for asynchronous tasks.
- Implemented sweepTimedOutTasks function to identify and handle unfinished tasks that exceed the timeout limit, marking them as failed and processing refunds if applicable.
- Enhanced task polling loop to include the new timeout handling logic, ensuring timely cleanup of stale tasks.
2026-02-22 17:59:38 +08:00
..
2026-01-14 22:29:43 +08:00
2025-07-30 20:31:51 +08:00
2025-12-12 16:19:14 +08:00
2025-10-30 14:21:46 +08:00
2024-07-07 02:24:51 +08:00
2025-07-10 20:55:43 +08:00
2025-12-03 00:41:47 +08:00
2025-12-02 21:34:39 +08:00
2025-07-21 15:39:16 +08:00
2025-12-19 23:16:56 +08:00
2023-04-22 20:39:27 +08:00
2025-08-03 10:41:00 +08:00
2023-04-22 20:39:27 +08:00