Data sync upload data memory not freed when internet access unavailable

Description

This happens because we put a timeout in the upload request, but the hyper library we use in rust does not clean up its resources unless the request task fully completes. Instead, we accept the loss of the data that we are trying to upload and let hyper fully fail. When there is no internet access, this would result in the lack of an app client, which will prevent the next synchronization task from proceeding mitigating the loss of further data.

Docs changes clarification

None

Activity

Show:
Done

Details

Assignee

Team

Micro RDK

Priority

Docs site change needed?

No

Reporter

PagerDuty

Created June 26, 2024 at 3:20 PM
Updated June 27, 2024 at 2:46 PM
Resolved June 27, 2024 at 2:46 PM