planetary-ios icon indicating copy to clipboard operation
planetary-ios copied to clipboard

Check for go-ssb being stuck while the app is in the background and restart

Open rabble opened this issue 1 year ago • 2 comments

Sometimes go-ssb gets stuck and won't sync new content until it's killed and restarted. We can tell when it's timing out, but not restart it when it's stuck like that. So when the app notices the timeouts have been hit in swift, and the app is NOT in the foreground, we should force quit the app, so the next time the user opens it or apple spins it up in the background then go-ssb will start syncing again.

rabble avatar Jul 14 '22 20:07 rabble

If this happens in the background call crash in swift.

martindsq avatar Aug 16 '22 17:08 martindsq

Let's see what is happening on the EBT branch and reevaluate after a week. For now lets just wait and postpone doing this.

boreq avatar Sep 06 '22 19:09 boreq