Our performance monitoring system detected some CPU and network usage could be improved for this app. This seems to be happening when network requests fail, causing endless retry attempts.. Which could be either caused by using some network blocker app or a server end failure.
Although I think there already be some retry or backoff mechanisms in FeedUpdateTask.java, the repeated sync attempts while the server is unreachable can lead to unnecessary battery consumption.
Would it be possible to add a customized, app-level server reachability check before trying synchronization? This could help prevent redundant sync attempts when the app is effectively blocked by the VPN.
Here are some references that may help:
StackOverflow: Server reachability check
DAVx⁵ solution for handling VPN-related sync issues
Thank you!