airqo-platform / airqo-platform/AirQo-api
Add timeout handling and memory protection to BatchProcessor
Đang mở
- Ngôn ngữ chính
- JavaScript
- Star
- 26
- Fork
- 24
- Merge trung bình
- 5 giờ 36 phút
- Pull request đã merge (30 ngày)
- 81
Mô tả
As discussed in [PR #3893](https://github.com/airqo-platform/AirQo-api/pull/3893) at [this comment](https://github.com/airqo-platform/AirQo-api/pull/3893#discussion_r1855639949), the BatchProcessor implementation needs safeguards:
1. Timeout mechanism for pending promises
2. Queue size limits
3. Cleanup of stale promises
Requested by @Baalmart.
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.