airqo-platform / airqo-platform/AirQo-api

Add timeout handling and memory protection to BatchProcessor

Đang mở
#3,895 0 bình luận 0 reaction 1 người được giao Được @Baalmart nhận Xem trên GitHub
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

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.