airqo-platform / airqo-platform/AirQo-api

Add timeout handling and memory protection to BatchProcessor

Open
#3,895 0 comments 0 reactions 1 assignee Claimed by @Baalmart View on GitHub
Dominant language
JavaScript
Stars
26
Forks
24
Avg merge
5h 36m
Merged PRs (30d)
81

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.