Files
newapi-yx-diy/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-12-12 16:19:14 +08:00
2025-10-30 14:21:46 +08:00
2025-12-03 00:41:47 +08:00
2025-12-02 21:34:39 +08:00
2025-12-19 23:16:56 +08:00