cloud connection timeout

Dirk Hohndel dirk at hohndel.org
Wed Mar 23 07:58:09 PDT 2016


On Wed, Mar 23, 2016 at 01:48:27PM +0800, Miika Turkia wrote:
> this was a sync of 20 new dives from the desktop app to cloud. Just
> wanted to get them to the android app (which synced afterwards without
> problems). So to me it was useful to see this works. But I doubt I'll
> attempt it again without better connection.

Yikes. Hmm. That is of course a use case that is reasonably common, now
that I think about it. Right now Subsurface can't download from the dive
computer. So it's quite natural to want to keep your phone and your laptop
in sync.

So we need an option that locks the UI on both desktop and mobile and
tries super patiently with extra long timeouts.

Linus and I used git to sync when we were on Lord Howe island. And the
internet connection there was so bad, it actually was funny (in a "brings
you to tears" kinda way). So normally git is really smart about minimizing
the network traffic - but that, of course, was the git client under Linux,
not libgit2...

I do have to build that "super annoying slow network" simulator so this
can get more testing and more analysis how to do this right.

/D



More information about the subsurface mailing list