status-im / status-go

The Status module that consumes go-ethereum
https://status.im
Mozilla Public License 2.0
726 stars 246 forks source link

Investigate if retries are being incorrectly attempted while offline #5272

Open vitvly opened 5 months ago

vitvly commented 5 months ago

Context here: https://github.com/status-im/status-mobile/issues/20247#issuecomment-2137847719

Need to ascertain whether retries are only attempted while online.

vitvly commented 5 months ago

For now, verified that Messenger.ConnectionChanged is properly invoked on a real device (on a simulator, "stop" is invoked right before "start" when going back online)

This also stops/starts datasync epoch processing.